Skip to content

Commit 41d03e6

Browse files
MoOxcknitt
authored andcommitted
Add VirtualizedSectionList / SectionList stickySectionHeadersEnabled prop (#416)
1 parent aca2494 commit 41d03e6

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

reason-react-native/src/components/SectionList.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ type ref = React.Ref.t(Js.nullable(element));
1212
external make:
1313
(
1414
~ref: ref=?,
15-
// SectionList props
15+
// VirtualizedSectionList props
1616
~sections: array(VirtualizedSectionList.section('item)),
17+
~stickySectionHeadersEnabled: bool=?,
1718
~renderItem: VirtualizedSectionList.renderItemCallback('item),
1819
~renderSectionHeader: VirtualizedSectionList.renderSectionHeaderCallback(
1920
'item,

reason-react-native/src/components/SectionList.re

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ type ref = React.Ref.t(Js.nullable(element));
55
external make:
66
(
77
~ref: ref=?,
8-
// SectionList props
8+
// VirtualizedSectionList props
99
~sections: array(VirtualizedSectionList.section('item)),
10+
~stickySectionHeadersEnabled: bool=?,
1011
~renderItem: VirtualizedSectionList.renderItemCallback('item),
1112
~renderSectionHeader: VirtualizedSectionList.renderSectionHeaderCallback(
1213
'item,

reason-react-native/src/components/VirtualizedSectionList.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ external make:
3434
~ref: ref=?,
3535
// VirtualizedSectionList props
3636
~sections: array(section('item)),
37+
~stickySectionHeadersEnabled: bool=?,
3738
~renderItem: renderItemCallback('item),
3839
~renderSectionHeader: renderSectionHeaderCallback('item)=?,
3940
~renderSectionFooter: renderSectionHeaderCallback('item)=?,

reason-react-native/src/components/VirtualizedSectionList.re

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ external make:
2727
~ref: ref=?,
2828
// VirtualizedSectionList props
2929
~sections: array(section('item)),
30+
~stickySectionHeadersEnabled: bool=?,
3031
~renderItem: renderItemCallback('item),
3132
~renderSectionHeader: renderSectionHeaderCallback('item)=?,
3233
~renderSectionFooter: renderSectionHeaderCallback('item)=?,

0 commit comments

Comments
 (0)