From c4ec9a524f31b5df421790a50d404dad3272a9c9 Mon Sep 17 00:00:00 2001 From: Igor Santos Date: Wed, 8 Aug 2018 09:57:05 -0300 Subject: [PATCH] Stating clear that component props can rely on parent props (#2970) --- docs/API.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/API.md b/docs/API.md index 9a9043840..2c782df91 100644 --- a/docs/API.md +++ b/docs/API.md @@ -25,6 +25,8 @@ ## Scene: The basic routing component for this router, all `` components require a `key` prop that must be unique. A parent `` must have a `component` as a `prop` as it will act as a grouping component for its children. +All properties of type `React.Component` will receive the same properties available on the Scene. + | Property | Type | Default | Description | |-----------|----------|----------|--------------------------------------------| | `key`       | `string` | `required` | Will be used to call screen transition, for example, `Actions.name(params)`. Must be unique. |