Skip to main content

Tabs

A reusable tab component is a component that can be built once and used multiple times. Reusable tabs can help avoid repetitive logic.

Variants

Props

--- yet to be udpated ----

PropsDatatypeValues/Example
typestring"primary" | "dark" | "danger" | "transparent" | "other" | "icon"
disabledboolean"true" | "false"
loaderboolean"true" | "false"
titlestring"Cancel"
onClickfunctionfunction from parent component
textStylePropObjectfont-size: var(--base-text)