feat: add missing docs

This commit is contained in:
Justineo
2021-10-28 15:51:45 +08:00
parent fc54ae526f
commit 4e7387f506
10 changed files with 24 additions and 4 deletions

View File

@@ -29,6 +29,8 @@ Style variants.
| -- | -- |
| `s` | Small. |
| `m` | Medium. |
| `simple` | Simple style. |
| `stable` | Stable width layout. Every button will have a minimal width so that it'll be easier to align buttons across multiple rows. |
^^^
^^^items

View File

@@ -49,3 +49,9 @@ When `target` has a value of `_blank`, a `noopener` token will be automatically
| Name | Description |
| -- | -- |
| ``click`` | Triggered upon clicks when the [`to`](#props-to) prop is falsy or the [`native`](#props-native) prop is `true`. The callback parameter list is `(event)`, where the type of `event` is HTML's native [`Event`](https://developer.mozilla.org/en-US/docs/Web/Events/click). |
### Configs
| Key | Type | Default | Description |
| -- | -- | -- | -- |
| ``link.routerLink`` | `string` | `router-link` | The name of the link component used in route mode so that you can replace the default one with a Vue Router-compatible implementation in environments such as Nuxt.js. |

View File

@@ -28,6 +28,8 @@ Style variants.
| -- | -- |
| `s` | Small. |
| `m` | Medium. |
| `simple` | Simple style. |
| `stable` | Stable width layout. Every button will have a minimal width so that it'll be easier to align buttons across multiple rows. |
^^^
^^^items