Closed jasonharrison closed 2 years ago
As of React 18, the children prop now needs to be listed explicitly when defining props. See the React 18 Upgrade Guide and https://github.com/DefinitelyTyped/DefinitelyTyped/pull/56210
children
Thanks!
As of React 18, the
children
prop now needs to be listed explicitly when defining props. See the React 18 Upgrade Guide and https://github.com/DefinitelyTyped/DefinitelyTyped/pull/56210