react-split-pane icon indicating copy to clipboard operation
react-split-pane copied to clipboard

add children to typings to support removal of same in react 18 typings

Open aesser opened this issue 3 years ago • 0 comments
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

aesser avatar May 11 '22 06:05 aesser