2019-06-06 07:12:28 +00:00
|
|
|
# GroupButton
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```js
|
|
|
|
import { GroupButton } from 'asc-web-components';
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Description
|
|
|
|
|
|
|
|
Base Button is used for a group action on a page.
|
|
|
|
|
|
|
|
#### Usage
|
|
|
|
|
|
|
|
```js
|
2019-06-25 15:01:04 +00:00
|
|
|
<GroupButton label='Group button' disabled={false} isDropdown={false} opened={false} ></GroupButton>
|
2019-06-06 07:12:28 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
#### Properties
|
|
|
|
|
|
|
|
| Props | Type | Required | Values | Default | Description |
|
|
|
|
| ------------------ | -------- | :------: | --------------------------- | -------------- | ----------------------------------------------------------------- |
|
2019-06-25 15:01:04 +00:00
|
|
|
| `label` | `string` | - | - | `Group button` | Value of the group button |
|
2019-06-06 07:12:28 +00:00
|
|
|
| `disabled` | `bool` | - | - | `false` | Tells when the button should present a disabled state |
|
|
|
|
| `isDropdown` | `bool` | - | - | `false` | Tells when the button should present a dropdown state |
|
2019-06-10 11:29:51 +00:00
|
|
|
| `opened` | `bool` | - | - | `false` | Tells when the button should be opened by default |
|
2019-06-25 15:01:04 +00:00
|
|
|
| `action` | `func` | - | - | - | What the button will trigger when clicked |
|