ButtonGroup
Buttons grouped without space.
version
5.0.0-alpha.33
install
yarn add @welcome-ui/button-group
usage
import { ButtonGroup } from '@welcome-ui/button-group'
Usage #
ButtonGroup component allows you to set the size and variant of all buttons within it and removing the border radius of the its button childrens.
Overload #
ButtonGroup
overloads the child components properties.
Properties #
Name | Type(s) | Default | Required |
---|---|---|---|
disabled | Boolean Disable all your buttons components | ||
size | "xxs" "xs" "sm" "md" "lg" | ||
variant | "disabled" "primary" "secondary" "tertiary" "primary-info" "secondary-info" "primary-success" "secondary-success" "ghost" "primary-warning" "secondary-warning" "primary-danger" "secondary-danger" |