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

Readme

Keywords

none

Package Sidebar

Install

npm i @lendi-ui/tabs

Weekly Downloads

172

Version

6.2.12

License

ISC

Unpacked Size

40.7 kB

Total Files

13

Last publish

Collaborators

  • lendi-owner
  • ishasaxena.aussie
  • sunny.niu
  • andrealin
  • malkyfaith
  • brianduan
  • yihan_lu_lendi
  • nodemacross
  • samnevers
  • boris.gordon
  • bharadwajsampath
  • nghiato
  • luissilvalendi
  • thomaslendi
  • dimitrioslendi
  • le-kang-lendi
  • yupeili
  • benjamintan
  • bchiong
  • antoine_lendi
  • jannes.mingram.lendi
  • fernandogontijo_
  • kjartan.johansen
  • nooshines
  • michaelhuttonlendi
  • sauburylendi
  • van.tran.lendi
  • jamie-conlon
  • simon_lau_lendi
  • joshua-derbe-lendi
  • devesh.maheshwari
  • mwlendi
  • daniel.you
  • moeabdullah