@lendi-ui/tabs
TypeScript icon, indicating that this package has built-in type declarations

6.2.12 • Public • Published

@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>

Dependents (1)

Package Sidebar

Install

npm i @lendi-ui/tabs

Weekly Downloads

145

Version

6.2.12

License

ISC

Unpacked Size

40.7 kB

Total Files

13

Last publish

Collaborators

  • joshua-derbe-lendi
  • michaelhuttonlendi
  • simon_lau_lendi
  • benjamintan
  • oliverfrance
  • kjartan.johansen
  • dapovey
  • nooshines
  • fernandogontijo_
  • sean-elliott-lendi
  • nghiato
  • sunny.niu
  • mfarshadmehr
  • jannes.mingram.lendi
  • antoine_lendi
  • bchiong
  • lendi-owner
  • andrealin
  • malkyfaith
  • brianduan
  • yihan_lu_lendi
  • nodemacross
  • samnevers
  • boris.gordon
  • leo.wei
  • bharadwajsampath
  • luissilvalendi
  • thomaslendi
  • dimitrioslendi
  • le-kang-lendi
  • yupeili