From 97d16b4a4d5796b408bedb418b321030ecc054e3 Mon Sep 17 00:00:00 2001 From: Igor Santos Date: Thu, 29 Mar 2018 08:05:29 -0300 Subject: [PATCH] Stating clear that component props can rely on parent props --- docs/API.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/API.md b/docs/API.md index bcad6ef84..2f07a85cb 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 `` cannot not 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. |