docs(rate): enUS

This commit is contained in:
07akioni 2021-04-03 01:04:41 +08:00
parent 65282b223b
commit 47f5f7af7b
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,5 @@
# Basic
```html
<n-rate />
```

View File

@ -0,0 +1,18 @@
# Rate
If you not very confident, be careful about changing star's color. That will be a disaster.
## Demos
```demo
basic
```
## Props
| 名称 | 类型 | 默认值 | 说明 |
| --------------- | ------------------------- | ----------- | ---- |
| count | `number` | `5` | |
| value | `number` | `undefined` | |
| default-value | `number` | `0` | |
| on-update:value | `(value: number) => void` | `undefined` | |

View File

@ -1,5 +1,7 @@
# 评分 Rate
没有把握的话不要给星星换颜色,那会是个灾难。
## 演示
```demo