@pmwcs/button-group
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

ButtonGroup (PMWCS Addon)

The ButtonGroup component can be used to group related buttons.

<ButtonGroup>
  <Button>One</Button>
  <Button>Two</Button>
  <Button>Three</Button>
</ButtonGroup>
<ButtonGroup raised dense>
  <Button><Icon icon='favorite' /></Button>
  <Button><Icon icon='local_pizza' /></Button>
  <Button><Icon icon='mood' /></Button>
</ButtonGroup>

ButtonGroup

The Button component.

Props

Name Type Description
children AnyComponent Content specified as children.
dense undefined | false | true Make the Button dense.
disabled undefined | false | true Make the button disabled
outlined undefined | false | true Make the button outlined.
raised undefined | false | true Make the Button raised.
ripple RipplePropT Adds a ripple effect to the component
unelevated undefined | false | true Make the button unelevated.

References

Package Sidebar

Install

npm i @pmwcs/button-group

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

9.33 kB

Total Files

11

Last publish

Collaborators

  • commenthol