@@ -2,12 +2,16 @@ type renderBag('item) = {
22 item:  'item, 
33 index:  int, 
44 section:  section('item), 
5-  separators:  {. "highlight" :  unit =>  unit, "unhighlight" :  unit =>  unit}
5+  separators:  {
6+  .
7+  "highlight" :  unit =>  unit,
8+  "unhighlight" :  unit =>  unit,
9+  }, 
610}
711and section('item) =  {
812 data:  array('item), 
913 key:  option(string), 
10-  renderItem:  option(( renderBag('item) =>  ReasonReact . reactElement)) 
14+  renderItem:  option(renderBag('item) =>  ReasonReact . reactElement), 
1115}; 
1216
1317let  section : 
@@ -25,7 +29,7 @@ type separatorProps('item) = {
2529 leadingSection:  option(section('item)), 
2630 section:  section('item), 
2731 trailingItem:  option('item), 
28-  trailingSection:  option(section('item))
32+  trailingSection:  option(section('item)), 
2933}; 
3034
3135type  sections (' item ); 
@@ -34,27 +38,30 @@ let sections: array(section('item)) => sections('item);
3438
3539type  renderItem (' item ); 
3640
37- let  renderItem :  (renderBag (' item ) => ReasonReact . reactElement ) => renderItem (' item ); 
41+ let  renderItem : 
42+  (renderBag (' item ) => ReasonReact . reactElement ) => renderItem (' item ); 
3843
3944type  separatorComponent (' item ); 
4045
4146let  separatorComponent : 
42-  (separatorProps (' item ) => ReasonReact . reactElement ) => separatorComponent (' item ); 
47+  (separatorProps (' item ) => ReasonReact . reactElement ) =>
48+  separatorComponent (' item ); 
4349
4450type  renderAccessory (' item ) =  {section:  section('item)}; 
4551
4652type  renderAccessoryView (' item ); 
4753
4854let  renderAccessoryView : 
49-  (renderAccessory (' item ) => ReasonReact . reactElement ) => renderAccessoryView (' item ); 
55+  (renderAccessory (' item ) => ReasonReact . reactElement ) =>
56+  renderAccessoryView (' item ); 
5057
5158type  viewToken (' item ) =  {
5259 .
5360 "index" :  Js . undefined(int),
5461 "isViewable" :  Js . boolean,
5562 "item" :  'item,
5663 "key" :  string,
57-  "section" :  section('item)
64+  "section" :  section('item), 
5865}; 
5966
6067let  make : 
@@ -74,14 +81,22 @@ let make:
7481 ~onViewableItemsChanged : {
7582 .
7683 "changed":  array (viewToken (' item )), 
77-  "viewableItems":  array (viewToken (' item ))
84+  "viewableItems":  array (viewToken (' item )), 
7885 }
7986 =?, 
8087 ~onRefresh : unit  => unit =?, 
8188 ~refreshing : bool =?, 
8289 ~renderSectionHeader : renderAccessoryView (' item )=?, 
8390 ~renderSectionFooter : renderAccessoryView (' item )=?, 
8491 ~stickySectionHeadersEnabled : bool =?, 
92+  ~keyboardDismissMode : [  |  ` none  |  ` interactive  |  ` onDrag ] =?, 
93+  ~keyboardShouldPersistTaps : [  |  ` always  |  ` never  |  ` handled ] =?, 
94+  ~showsHorizontalScrollIndicator : bool =?, 
95+  ~showsVerticalScrollIndicator : bool =?, 
8596 array (ReasonReact . reactElement )
8697 ) =>
87-  ReasonReact . component (ReasonReact . stateless ,  ReasonReact . noRetainedProps ,  unit ); 
98+  ReasonReact . component (
99+  ReasonReact . stateless , 
100+  ReasonReact . noRetainedProps , 
101+  unit , 
102+  ); 
0 commit comments