@blaze-react/tab

0.7.0 • Public • Published

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 Single or array of nodes No content

/@blaze-react/tab/

    Package Sidebar

    Install

    npm i @blaze-react/tab

    Weekly Downloads

    209

    Version

    0.7.0

    License

    ISC

    Unpacked Size

    6.11 kB

    Total Files

    8

    Last publish

    Collaborators

    • mcabrerapf
    • tanane
    • daoyong
    • marekb9
    • grzegorzi
    • ishrat
    • andypail