File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
react-native/Libraries/Lists
rn-tester/js/examples/SectionList Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,10 @@ export default class SectionList<
244244 const stickySectionHeadersEnabled =
245245 _stickySectionHeadersEnabled ?? Platform . OS === 'ios' ;
246246 return (
247+ /* $FlowFixMe[incompatible-type] Error revealed after improved builtin
248+ * React utility types */
249+ /* $FlowFixMe[incompatible-type] Error revealed after improved builtin
250+ * React utility types */
247251 < VirtualizedSectionList
248252 { ...restProps }
249253 stickySectionHeadersEnabled = { stickySectionHeadersEnabled }
Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ const SectionListBaseExample: React.AbstractComponent<
103103 keyExtractor = { ( item , index ) => item + index }
104104 style = { styles . list }
105105 renderItem = { Item }
106+ /* $FlowFixMe[prop-missing] Error revealed after improved builtin React
107+ * utility types */
106108 renderSectionHeader = { ( { section : { title} } ) => (
107109 < Text style = { styles . header } > { title } </ Text >
108110 ) }
You can’t perform that action at this time.
0 commit comments