react-split-pane
react-split-pane copied to clipboard
add children to typings to support removal of same in react 18 typings
trafficstars
Current typing definition will cause the following error when upgrading to React 18 typing definitions Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<SplitPane> & Pick<Readonly<SplitPaneProps>, 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