0.4.7 • Published 3 years ago

@bdt-component-library/tab v0.4.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Tab Component

About

This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.

Description

Handles display of an individual tab according to style guide conventions.

API

proptyperequireddefaultexplanation
childrenReact nodeyesn/aThe inner content of the Tab
classNamestringnon/aAdds an optional classname to the component
sizeenum("default", "compact")no"default"Determines the size variant
fullWidthbooleannofalseDetermines if the tabs are full width
isActivebooleannofalseDetermines if tab should receive active styles
onClickfunctionnoundefinedEvent handler for onClick events
leadingIconReact element OR falsenofalseSet leading tab icon
0.4.7

3 years ago

0.4.5

3 years ago

0.4.6

3 years ago

0.4.4

3 years ago

0.4.1

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago