diff --git a/src/components/Tabs/Tabs.tsx b/src/components/Tabs/Tabs.tsx index 5e72299..06b86f0 100644 --- a/src/components/Tabs/Tabs.tsx +++ b/src/components/Tabs/Tabs.tsx @@ -5,7 +5,7 @@ import { classnames } from "../utils/classnames"; type Props = { tabs: { label: string; - Icon?: ComponentType<{ size?: string }>; + Icon?: ComponentType; }[]; onTabChange: (index: number) => void | Promise; tabIndex: number; @@ -23,7 +23,7 @@ export function Tabs({ tabs, onTabChange, tabIndex }: Props) { )} onClick={() => onTabChange(index)} > - {tab.Icon && } + {tab.Icon && } {tab.label} ))}