open-index/open-npm huggingface dataset:
npm package: @lucasz/d-button
Description: DButton ======
Author: DTT
Latest version: 1.0.11

DButton
======

Usage
-----

1. Import the component

`import DButton from 'd-button';`

2. Add it to the components object

`components: {DButton}`

3. Use it in the template
```
<DButton
  ...props
  >Button text</DButton>
```
Props
-----

| **Name**     | **Type**  | **Required** |                                   **Values**                                    |                                       **Description**                                        |
|:-------------|:---------:|:------------:|:-------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------------------:|
| type         | `String`  |      ❌       | Default value: `button` ---<br/> Possible values: [`button`, `submit`, `reset`] |                                    The type of the button                                    |
| isDisabled   | `Boolean` |      ❌       |                             Default value: `false`                              |                              If the button is clickable or not.                              |
| block        | `Boolean` |      ❌       |                             Default value: `false`                              |                    Give the button block styling so it covers all width.                     |
| isDescending | `boolean` |      ❌       |                             Default value: `false`                              | Give the button plain styling, so it doesn’t have a background, only when you hover over it. |


Events
------

| **Name** |     **Description**      |
|:--------:|:------------------------:|
|  click   | Is fired on click event. |