docs(dynamic-tags): add docs (#512)

* docs: add dynamic-input docs

* docs: add dynamic-tag docs
This commit is contained in:
caoyugang_1 2021-07-14 23:48:57 +08:00 committed by GitHub
parent fc6a9a76a5
commit 6f8aa12fbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 26 deletions

View File

@ -13,13 +13,13 @@ form
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| closable | `boolean` | `true` | |
| default-value | `string[]` | `[]` | |
| disabled | `boolean` | `false` | |
| input-style | `string \| Object` | `undefined` | |
| round | `boolean` | `false` | |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | |
| tag-style | `string \| Object` | `undefined` | |
| type | `'default' \| 'info' \| 'success' \| 'warning' \| 'error'` | `'default'` | |
| value | `string[]` | `undefined` | |
| on-update:value | `(value: boolean) => void` | `undefined` | |
| closable | `boolean` | `true` | Whether the tag is closable. |
| default-value | `string[]` | `[]` | Default value in uncontrolled mode. |
| disabled | `boolean` | `false` | Whether the tag is disabled. |
| input-style | `string \| Object` | `undefined` | Customize the style of the input. |
| round | `boolean` | `false` | Whether the tag has round corner. |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | Size of the tag. |
| tag-style | `string \| Object` | `undefined` | Customize the style of the tag. |
| type | `'default' \| 'info' \| 'success' \| 'warning' \| 'error'` | `'default'` | Type of the tag. |
| value | `string[]` | `undefined` | Value in controlled mode. |
| on-update:value | `(value: boolean) => void` | `undefined` | Callback when the component's value changes. |

View File

@ -13,13 +13,13 @@ form
| 名称 | 类型 | 默认值 | 说明 |
| --- | --- | --- | --- |
| closable | `boolean` | `true` | |
| default-value | `string[]` | `[]` | |
| disabled | `boolean` | `false` | |
| input-style | `string \| Object` | `undefined` | |
| round | `boolean` | `false` | |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | |
| tag-style | `string \| Object` | `undefined` | |
| type | `'default' \| 'info' \| 'success' \| 'warning' \| 'error'` | `'default'` | |
| value | `string[]` | `undefined` | |
| on-update:value | `(value: boolean) => void` | `undefined` | |
| closable | `boolean` | `true` | 是否可关闭 |
| default-value | `string[]` | `[]` | 非受控模式下的默认值 |
| disabled | `boolean` | `false` | 是否禁用 |
| input-style | `string \| Object` | `undefined` | 自定义输入框的样式 |
| round | `boolean` | `false` | 是否圆角 |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | 尺寸大小 |
| tag-style | `string \| Object` | `undefined` | 自定义标签的样式 |
| type | `'default' \| 'info' \| 'success' \| 'warning' \| 'error'` | `'default'` | 标签类型 |
| value | `string[]` | `undefined` | 受控模式下的值 |
| on-update:value | `(value: boolean) => void` | `undefined` | 组件值发生变化时的回调 |

View File

@ -32,6 +32,6 @@ shape
## Slots
| Name | Parameters | Description |
| ------- | ---------- | ----------- |
| default | `()` | |
| Name | Parameters | Description |
| ------- | ---------- | -------------- |
| default | `()` | Tag's content. |

View File

@ -33,6 +33,6 @@ rtl-debug
## Slots
| 名称 | 参数 | 说明 |
| ------- | ---- | ---- |
| default | `()` | |
| 名称 | 参数 | 说明 |
| ------- | ---- | -------- |
| default | `()` | 标签内容 |