./components/Filter.tsx:48:39
Type error: Type '{ children: ({ active }: ItemRenderPropArg) => Element; key: string; onClick: () => void; }' is not assignable to type 'IntrinsicAttributes & (Props<ExoticComponent<{ children?: ReactNode; }>, ItemRenderPropArg, MenuItemPropsWeControl> & { ...; })'.
Property 'onClick' does not exist on type 'IntrinsicAttributes & (Props<ExoticComponent<{ children?: ReactNode; }>, ItemRenderPropArg, MenuItemPropsWeControl> & { ...; })'.
Failed to compile.
./components/Filter.tsx:48:39 Type error: Type '{ children: ({ active }: ItemRenderPropArg) => Element; key: string; onClick: () => void; }' is not assignable to type 'IntrinsicAttributes & (Props<ExoticComponent<{ children?: ReactNode; }>, ItemRenderPropArg, MenuItemPropsWeControl> & { ...; })'. Property 'onClick' does not exist on type 'IntrinsicAttributes & (Props<ExoticComponent<{ children?: ReactNode; }>, ItemRenderPropArg, MenuItemPropsWeControl> & { ...; })'.
46 |
Running into the same issue, @viral-sangani how did you get to compile this project for the purpose of your tutorial?