ict-element-tab

1.0.5 • Public • Published

ict-element-tab

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save ict-element-tab

Usage

import React, { Component ,useState} from 'react'

import IctTab from 'ict-element-tab'
import 'ict-element-tab/dist/index.css'

class Example extends Component {
      const [option, setOption] = useState({
        isCentered: false,
        isScrollable: true,
        isVertical: false,
        tabInfo: [
            { label: 'Item One', value: 'Item One', wrapped: true },
            { label: 'Item Two', value: 'Item Two', isDisabled: true },
            { label: 'Item Three', value: 'Item Three' },
        ],
        tabColor: { textColor: 'primary', indicatorColor: 'primary' },
    });
  render() {
    return <IctTab option={option} />
  }
}

License

MIT ©

Readme

Keywords

none

Package Sidebar

Install

npm i ict-element-tab

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

267 kB

Total Files

6

Last publish

Collaborators

  • taivnaa121