From 406a13dd1401fd4fcbb734a2ae497b677f4710d9 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Wed, 5 Apr 2017 17:11:01 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/sectionlist.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/releases/next/docs/sectionlist.html b/releases/next/docs/sectionlist.html index 76626bf73cb..11a70683275 100644 --- a/releases/next/docs/sectionlist.html +++ b/releases/next/docs/sectionlist.html @@ -90,7 +90,7 @@ const VIEWABILITY_CONFIG = }; const renderSectionHeader = ({section}) => ( - <View> + <View style={styles.header}> <Text style={styles.headerText}>SECTION HEADER: {section.key}</Text> <SeparatorComponent /> </View> @@ -175,6 +175,7 @@ class SectionListExample extends ={false} renderItem={this._renderItemComponent} renderSectionHeader={renderSectionHeader} + stickySectionHeadersEnabled sections={[ {renderItem: renderStackedItem, key: 's1', data: [ {title: 'Item In Header Section', text: 'Section s1', key: '0'}, @@ -217,6 +218,9 @@ class SectionListExample extends } const styles = StyleSheet.create({ + header: { + backgroundColor: '#e9eaed', + }, headerText: { padding: 4, },