From accb8cd8149de2a29dfdf61e5f490a2a692cf16e Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Wed, 9 Aug 2017 02:21:41 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/sectionlist.html | 2 +- releases/next/docs/virtualizedlist.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/releases/next/docs/sectionlist.html b/releases/next/docs/sectionlist.html index fa65841b049..3f8e142ac9f 100644 --- a/releases/next/docs/sectionlist.html +++ b/releases/next/docs/sectionlist.html @@ -41,7 +41,7 @@ any of your renderItem, Header, Footer, etc. functions depend on an much more. Note these items will never be unmounted as part of the windowed rendering in order to improve perceived performance of scroll-to-top actions.

inverted?: ?boolean #

Reverses the direction of scroll. Uses scale transforms of -1.

keyExtractor: (item: Item, index: number) => string #

Used to extract a unique key for a given item at the specified index. Key is used for caching and as the react key to track item re-ordering. The default extractor checks item.key, then -falls back to using the index, like react does. Note that this sets keys for each item, but +falls back to using the index, like react does. Note that this sets keys for each item, but each overall section still needs its own key.

legacyImplementation?: ?boolean #

onEndReached?: ?(info: {distanceFromEnd: number}) => void #

Called once when the scroll position gets within onEndReachedThreshold of the rendered content.

onEndReachedThreshold?: ?number #

How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. diff --git a/releases/next/docs/virtualizedlist.html b/releases/next/docs/virtualizedlist.html index f21906b57d8..089b15251d8 100644 --- a/releases/next/docs/virtualizedlist.html +++ b/releases/next/docs/virtualizedlist.html @@ -13,7 +13,8 @@ changes. This includes the data prop and parent component state.

  • By default, the list looks for a key prop on each item and uses that for the React key. -Alternatively, you can provide a custom keyExtractor prop.
  • Props #

    ListEmptyComponent?: ?ReactClass<any> | React.Element<any> #

    Rendered when the list is empty. Can be a React Component Class, a render function, or +Alternatively, you can provide a custom keyExtractor prop.

    Props #

    CellRendererComponent?: ?ReactClass<any> #

    Each cell is rendered using this element. Can be a React Component Class, +or a render function. Defaults to using View.

    ListEmptyComponent?: ?ReactClass<any> | React.Element<any> #

    Rendered when the list is empty. Can be a React Component Class, a render function, or a rendered element.

    ListFooterComponent?: ?ReactClass<any> | React.Element<any> #

    Rendered at the bottom of all the items. Can be a React Component Class, a render function, or a rendered element.

    ListHeaderComponent?: ?ReactClass<any> | React.Element<any> #

    Rendered at the top of all the items. Can be a React Component Class, a render function, or a rendered element.

    data?: any #

    The default accessor functions assume this is an Array<{key: string}> but you can override