0.4.4 • Published 4 years ago

@bdt-component-library/button-group v0.4.4

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

ButtonGroup 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 button groups according to style guide conventions (infers conventions from the structured list component).

API

proptyperequireddefaultexplanation
childrenReact nodeyesn/aThe components to group inside the button group
classNamestringnon/aAdds an optional classname to the component
inlinebooleannofalseDetermines if button group displays in inline or block
spacingenum(1, 2, 3, 4)no1Determines the spacing between children passed into the ButtonGroup component
wrapenum("wrap", "no-wrap")no"wrap"Determines if flex-wrap attribute is applied
0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.3.1

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.1

4 years ago

0.1.2

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago