Open suniltc opened 6 years ago
Maybe don't be like a non technical person and specify a bit more details.... like Node verson, React version etc.. where you get the error etc
This is an issue with DefinitelyTyped definitions, children
property is not compatible with all usages. The type should be:
{
/* other props */
children:
| ReactNode
| ((args: { isVisible: boolean; visibilityRect?: Shape; }) => ReactNode);
}
Hi, I'm getting below error.
How to solve this?