2019-09-10 11:45:50 +00:00
|
|
|
# SelectorAddButton
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```js
|
|
|
|
import { SelectorAddButton } from 'asc-web-components';
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
#### Usage
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
|
|
|
<SelectorAddButton title="Add item" onClick={()=>console.log("onClose")}></SelectorAddButton>
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Properties
|
|
|
|
|
|
|
|
| Props | Type | Required | Values | Default | Description |
|
|
|
|
| ------------ | ---------- | :------: | ------ | ------- | ----------------------------------------------------- |
|
|
|
|
| `isDisabled` | `bool` | - | - | false | Tells when the button should present a disabled state |
|
|
|
|
| `title` | `string` | - | - | - | Title text |
|
|
|
|
| `onClick` | `function` | - | - | - | What the button will trigger when clicked |
|
2019-09-10 12:15:22 +00:00
|
|
|
| `className` | `string` | - | - | - | Attribute className |
|