Closed bpetetot closed 7 years ago
The <Tabs> component will be used in the workbench screen (for props, state...) and the documentation screen (to switch from edit to preview mode)
<Tabs>
It's a basic implementation of tabs, that can be used like that :
<Tabs className="myClass"> <Tab title="props"><Props /></Tab> <Tab title="state">Not implemented yet.</Tab> </Tabs>
The following features are available on the <Tabs> component
Tabs#defaultKey
Tabs#actions
Tab#title
PropTypes.node
And the Tabs, Tab, TabsHeader and TabsActions styles can be overridden.
Tabs
Tab
TabsHeader
TabsActions
The
<Tabs>
component will be used in the workbench screen (for props, state...) and the documentation screen (to switch from edit to preview mode)It's a basic implementation of tabs, that can be used like that :
The following features are available on the
<Tabs>
componentTabs#defaultKey
prop to select a default tabTabs#actions
prop to add an action bar on the right of the tabsTab#title
prop is aPropTypes.node
And the
Tabs
,Tab
,TabsHeader
andTabsActions
styles can be overridden.