mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-04-12 14:40:47 +08:00
docs(rate): enUS
This commit is contained in:
parent
65282b223b
commit
47f5f7af7b
@ -0,0 +1,5 @@
|
||||
# Basic
|
||||
|
||||
```html
|
||||
<n-rate />
|
||||
```
|
@ -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` | |
|
@ -1,5 +1,7 @@
|
||||
# 评分 Rate
|
||||
|
||||
没有把握的话不要给星星换颜色,那会是个灾难。
|
||||
|
||||
## 演示
|
||||
|
||||
```demo
|
||||
|
Loading…
x
Reference in New Issue
Block a user