@bdt-component-library/tabs
v0.6.6
Published
Tabs component
Downloads
29
Readme
Tabs 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 tabs according to style guide.
- https://zeroheight.com/990ea04ab/p/80c479-tabs
API
| prop | type | required | default | explanation | |-----------|--------|----------|---------|--------------| | className | string | no | n/a | Adds an optional classname to the inner component | | wrapperClass | string | no | n/a | Adds an optional classname to the main component wrapper | | fullWidth | boolean | no | undefined | Determines if the tabs are full width | | children | React node | yes | n/a | The components to render inside the tabs container.