We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
key
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The error below is thrown when using TimelineList.
TimelineList
(NOBRIDGE) ERROR Warning: A props object containing a "key" prop is being spread into JSX: let props = {key: someKey, format24h: ..., overlapEventsSpacing: ..., rightEdgeSpacing: ..., scrollToFirst: ..., scrollToNow: ..., date: ..., events: ..., initialTime: ..., scrollOffset: ..., onChangeOffset: ..., showNowIndicator: ..., numberOfDays: ..., timelineLeftInset: ...}; <Timeline {...props} /> React keys must be passed directly to JSX without using spread: let props = {format24h: ..., overlapEventsSpacing: ..., rightEdgeSpacing: ..., scrollToFirst: ..., scrollToNow: ..., date: ..., events: ..., initialTime: ..., scrollOffset: ..., onChangeOffset: ..., showNowIndicator: ..., numberOfDays: ..., timelineLeftInset: ...}; <Timeline key={someKey} {...props} />
The key prop is defined in the _timelineProps and then spread into <Timeline {..._timelineProps} />
_timelineProps
<Timeline {..._timelineProps} />
react-native-calendars/src/timeline-list/index.tsx
Lines 124 to 145 in 3a61838
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The error below is thrown when using
TimelineList
.The
key
prop is defined in the_timelineProps
and then spread into<Timeline {..._timelineProps} />
react-native-calendars/src/timeline-list/index.tsx
Lines 124 to 145 in 3a61838
The text was updated successfully, but these errors were encountered: