npm.io
1.1.0 • Published 5 years ago

@pmwcs/button-group

Licence
MIT
Version
1.1.0
Deps
2
Size
9 kB
Vulns
0
Weekly
0
Stars
14

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

Keywords