From 29c6034751d49531a64f72174920b1083f745fb7 Mon Sep 17 00:00:00 2001 From: GioLogist Date: Fri, 1 Dec 2017 17:42:28 -0800 Subject: [PATCH 1/3] Update flatlist.md None of the inherited prop pages mention these props, so it should be mentioned here. --- .../versioned_docs/version-0.51/flatlist.md | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/website/versioned_docs/version-0.51/flatlist.md b/website/versioned_docs/version-0.51/flatlist.md index 19c975c3f46..37699f1d85b 100644 --- a/website/versioned_docs/version-0.51/flatlist.md +++ b/website/versioned_docs/version-0.51/flatlist.md @@ -112,11 +112,11 @@ Also inherits [ScrollView Props](scrollview.md#props), unless it is nested in an ### Props +- [`data`](flatlist.md#data) +- [`renderItem`](flatlist.md#renderItem) - [`numColumns`](flatlist.md#numcolumns) - - ### Methods - [`scrollToEnd`](flatlist.md#scrolltoend) @@ -149,11 +149,27 @@ Also inherits [ScrollView Props](scrollview.md#props), unless it is nested in an | - | - | | | No | +### `data` + + + +| Type | Required | +| - | - | +| | No | +### `renderItem` +| Type | Required | +| - | - | +| | Yes | + + + +--- + ## Methods ### `scrollToEnd()` From 24d10b5a6d63c202606502987a14501324cb17af Mon Sep 17 00:00:00 2001 From: GioLogist Date: Fri, 1 Dec 2017 18:08:57 -0800 Subject: [PATCH 2/3] Revert changes to versioned docs --- .../versioned_docs/version-0.51/flatlist.md | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/website/versioned_docs/version-0.51/flatlist.md b/website/versioned_docs/version-0.51/flatlist.md index 37699f1d85b..19c975c3f46 100644 --- a/website/versioned_docs/version-0.51/flatlist.md +++ b/website/versioned_docs/version-0.51/flatlist.md @@ -112,11 +112,11 @@ Also inherits [ScrollView Props](scrollview.md#props), unless it is nested in an ### Props -- [`data`](flatlist.md#data) -- [`renderItem`](flatlist.md#renderItem) - [`numColumns`](flatlist.md#numcolumns) + + ### Methods - [`scrollToEnd`](flatlist.md#scrolltoend) @@ -149,27 +149,11 @@ Also inherits [ScrollView Props](scrollview.md#props), unless it is nested in an | - | - | | | No | -### `data` - - - -| Type | Required | -| - | - | -| | No | -### `renderItem` -| Type | Required | -| - | - | -| | Yes | - - - ---- - ## Methods ### `scrollToEnd()` From 226bc93434c5577368f525c2f02f4421fab59403 Mon Sep 17 00:00:00 2001 From: GioLogist Date: Fri, 1 Dec 2017 18:15:25 -0800 Subject: [PATCH 3/3] Update flatlist.md None of the inherited prop pages mention these props, so it should be mentioned here. --- docs/flatlist.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/flatlist.md b/docs/flatlist.md index f4e9b134d5e..9a17a826cb9 100644 --- a/docs/flatlist.md +++ b/docs/flatlist.md @@ -111,11 +111,12 @@ Also inherits [ScrollView Props](scrollview.md#props), unless it is nested in an ### Props +- [`data`](flatlist.md#data) +- [`renderItem`](flatlist.md#renderItem) - [`numColumns`](flatlist.md#numcolumns) - ### Methods - [`scrollToEnd`](flatlist.md#scrolltoend) @@ -140,6 +141,23 @@ Also inherits [ScrollView Props](scrollview.md#props), unless it is nested in an ## Props +### `data` + + + +| Type | Required | +| - | - | +| | No | + + +### `renderItem` + + + +| Type | Required | +| - | - | +| | Yes | + ### `numColumns`