echoulen / echoulen/react-pull-to-refresh
React 18.0.0 typescript
Open
- Dominant language
- TypeScript
- Stars
- 34
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
I just updated to react 18. And from the docs it says that children prop need to be explicitly defined when listing props. I got the error below:
Type '{ children: (ReactNode | Element)[]; pullDownContent: Element; releaseContent: Element; refreshContent: Element; pullDownThreshold: number; onRefresh: () => Promise<...>; triggerHeight: number; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'.
Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly'.ts(2322)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.