@9softstudio/simple-react-tab

    1.0.1 • Public • Published

    simple-react-tab

    Usage

    import { Tabs, Tab } from '../dist/index'
    import Tab1 from './components/Tab1'
    import Tab2 from './components/Tab2'
     
    export default class App extends Component {
        constructor(props) {
            super(props);
        }
     
        render() {
            return (
                <Tabs>
                    <Tab isActive={true} label="Tab1">
                        <Tab1 />
                    </Tab>
                    <Tab isActive={false} label="Tab2">
                        <Tab2 />
                    </Tab>
                </Tabs>
            );
        }
    }

    License

    MIT

    Keywords

    Install

    npm i @9softstudio/simple-react-tab

    DownloadsWeekly Downloads

    7

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    1.66 MB

    Total Files

    15

    Last publish

    Collaborators

    • parsonsnguyen
    • phamtung
    • sparta9
    • tuanhn
    • vietquocbui
    • walternexcel