0.4.1 • Published 4 years ago

@bdt-component-library/chip v0.4.1

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

Chip 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 chips according to style guide conventions.

API

proptyperequireddefaultexplanation
childrenReact nodeyesn/aThe text to display inside the chip
classNamestringnon/aAdds an optional classname to the component
smallbooleannoundefinedDetermines if the chip is the small variation
variantenum("default", "success", "error", "warning", "dark", "light")no"default"Changes the variation style of the chip
0.4.1

4 years ago

0.4.0

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago