-
Notifications
You must be signed in to change notification settings - Fork 24.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loosen SectionList
renderItem
required return type (#45305)
Summary: Pull Request resolved: #45305 Allow SectionList render functions to return any React node, instead of just React.Element. This matches VirtualizedList/FlatList, and general Flow component conventions. Changelog: [General][Fixed] - Loosen SectionList `renderItem` required return type Reviewed By: joevilches Differential Revision: D59404511 fbshipit-source-id: 3055d8f01845ff5ef8ae75b87f60d8cd26dc07b4
- Loading branch information
1 parent
3441641
commit 12b64b7
Showing
2 changed files
with
4 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters