Made with create-react-library
npm install --save ict-element-tab
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} />
}
}