react-native-navigation的迁移库

layout-layout.mdx 1.0KB

123456789101112131415161718192021222324
  1. ---
  2. id: layout-layout
  3. title: Layout
  4. sidebar_label: Layout
  5. ---
  6. ## `id`
  7. | Type | Required | Description |
  8. | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  9. | string | No | Unique id used to interact with the view via the Navigation API, usually `Navigation.mergeOptions` which accepts the componentId as it's first argument. |
  10. ## `options`
  11. | Type | Required | Description |
  12. | ----------------------- | -------- | ------------------------------ |
  13. | [Options](options-root.mdx) | No | dynamic options for the layout |
  14. ## `children`
  15. | Type | Required | Description |
  16. | ------------------ | -------- | ----------------------------- |
  17. | [Layout[]](layout-layout.mdx) | YES | Child layouts of any kind. |