@lendi-ui/tabs
A tabs component.
Installation
yarn add @lendi-ui/tabs
Usage
import Tabs from '@lendi-ui/tabs';
<Tabs />
## Tabs Properties
<PropTable>
<PropTable.Entry name="activeBarStyles" type="React.CSSProperties" defaultValue="" description="Gives a custom style to active bar like height or padding whatever"/>
<PropTable.Entry name="activeTabIndex" type="number" description="Index of the currently active tab and it is based on zero-indexed."/>
<PropTable.Entry name="isInverse" type="boolean" defaultValue="false" description="Whether the background is primary.500 (false) or transparent (true)."/>
<PropTable.Entry name="onChangeTabIndex" type="(key: number) => void" description="Handle the change event."/>
</PropTable>
<br/><br/>
## Tabs.Tab Properties
<PropTable>
<PropTable.Entry name="href" type="string" description="URL to link to."/>
<PropTable.Entry name="icon" type="React.ReactNode" description="Icon on top of text."/>
</PropTable>