Skip to content

Files

Latest commit

 

History

History
50 lines (40 loc) · 1.84 KB

layout-splitView.mdx

File metadata and controls

50 lines (40 loc) · 1.84 KB
id title sidebar_label
layout-splitView
SplitView
SplitView

A container view controller implementing a master-detail interface. See UISplitViewController docs. Currently implemented only in iOS.

{
  id: 'PROFILE_TAB',
  master: {
    component: {
      id: 'MASTER_SCREEN',
      name: 'MasterScreen'
    }
  },
  detail: {
    component: {
      id: 'DETAIL_SCREEN',
      name: 'DetailScreen'
    }
  }
}

id

Type Required Description
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.

master

Type Required Description
Layout YES Set master layout (the smaller screen, sidebar)

detail

Type Required Description
Layout YES Set detail layout (the larger screen, flexes)

options

Type Required Description
Options No dynamic options which will apply to all screens