From eeeb8f2271db7f1d5190ba5bc5990602df2e251d Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Thu, 29 Sep 2022 22:37:49 +0300 Subject: [PATCH] In the Icon component changed props.className to props.class --- src/components/Nav/Icon.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Nav/Icon.tsx b/src/components/Nav/Icon.tsx index 823cfcac..b54ce42f 100644 --- a/src/components/Nav/Icon.tsx +++ b/src/components/Nav/Icon.tsx @@ -4,7 +4,7 @@ import type { JSX } from 'solid-js' import './Icon.css' type IconProps = { - className?: string + class?: string iconClassName?: string style?: string | JSX.CSSProperties title?: string @@ -16,7 +16,7 @@ export const Icon = (passedProps: IconProps) => { const props = mergeProps({ title: '', counter: 0 }, passedProps) return ( -
+
{props.title
{props.counter}