reinspect icon indicating copy to clipboard operation
reinspect copied to clipboard

Add `children: ReactNode` prop to the `StateInspectorProps` type

Open rogi29 opened this issue 2 years ago • 0 comments

As noted in the issue below, currently inserting React Nodes as a children prop into the StateInspector component will result with a TypeError. https://github.com/troch/reinspect/issues/83

This is an issue for React >18 only, as noted in the stackoverflow below, the React.FC type does not include the children: ReactNode anymore. https://stackoverflow.com/questions/71788254/react-18-typescript-children-fc/71800185#71800185

rogi29 avatar Aug 20 '23 11:08 rogi29