import clsx from 'clsx' import { mergeProps, Show } from 'solid-js' import type { JSX } from 'solid-js' import './Icon.css' type IconProps = { className?: string iconClassName?: string style?: string | JSX.CSSProperties title?: string name?: string counter?: number } export const Icon = (passedProps: IconProps) => { const props = mergeProps({ title: '', counter: 0 }, passedProps) return (
{props.title
{props.counter}
) }