@hixme-ui/tabs

2.1.0 • Public • Published

Tabs

Installation

npm i --save @hixme-ui/tabs

View it live

Usage

import Tabs from '@hixme-ui/tabs'

const tabsArray = [{
  name: 'Some tab name 1',
  content: <SomeComponent {...stuff} />
},{
  name: 'Some tab name 2',
  content: <SomeOtherComponent {...stuff} />
}]

<Tabs blue id='uniqueString' list={tabsArray} initWithIndex={1} />

Props

tabStyles={{ blue: true, width: '200px', marginBottom: '40px' }}
Name Type Default
id string N/A
list array N/A
initWithIndex number 0
tabStyles object N/A

Package Sidebar

Install

npm i @hixme-ui/tabs

Weekly Downloads

26

Version

2.1.0

License

MIT

Unpacked Size

29 kB

Total Files

21

Last publish

Collaborators

  • sureco-devops
  • sureco-engineering
  • dreamingbinary
  • billyxs