Typescript doesn't show which prop should be provided
My component looks like this:
The above comp requires a
type
prop to be provided but typescript doesnt tell me so as shown in the error (image below). Am I doing something wrong or is this intended behavior ?2 Replies
This is what I expect ts to show
brmzkw
CodeSandbox
busy-snow-w9od4k - CodeSandbox
busy-snow-w9od4k by brmzkw using @radix-ui/react-popover, @radix-ui/react-toggle-group, react, react-dom, react-scripts