Open aesser opened 2 years ago
Current typing definition will cause the following error when upgrading to React 18 typing definitions Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Pick<Readonly, never>
This PR adds the children prop.
See also SO answer as reference: https://stackoverflow.com/questions/71788254/react-18-typescript-children-fc/71809927#71809927
Current typing definition will cause the following error when upgrading to React 18 typing definitions Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Pick<Readonly, never>
This PR adds the children prop.
See also SO answer as reference: https://stackoverflow.com/questions/71788254/react-18-typescript-children-fc/71809927#71809927