@blaze-react/tab
v0.8.0-alpha.112
Published
Tabs organize a static or dynamic content across different screens.
Keywords
Readme
Description
Tabs organize a static or dynamic content across different screens.
Usage
<Tab selected={0}>
<TabItem title="Basic">Basic content here</TabItem>
<TabItem title="Advanced" action={() => {}}>
{dynamicData}
</TabItem>
<TabItem title="Other">Other content here</TabItem>
</Tab>API
Tab can receive a number of props as follow:
| NAME | TYPE | DEFAULT | | :------- | :------: | :---------: | | label | string | Unnamed tab | | selected | number | 0 | | action | function | () => {} | | children | unknown | No content |
