mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
docs: update demo format
This commit is contained in:
parent
df3ba36720
commit
bc2b086862
@ -1,11 +1,10 @@
|
||||
# 只读
|
||||
|
||||
- order: 3
|
||||
---
|
||||
order: 3
|
||||
title: 只读
|
||||
---
|
||||
|
||||
只读,无法进行鼠标交互。
|
||||
|
||||
---
|
||||
|
||||
````jsx
|
||||
import { Rate } from 'antd';
|
||||
|
||||
|
@ -1,11 +1,10 @@
|
||||
# 半星
|
||||
|
||||
- order: 1
|
||||
---
|
||||
order: 1
|
||||
title: 半星
|
||||
---
|
||||
|
||||
支持选中半星。
|
||||
|
||||
---
|
||||
|
||||
````jsx
|
||||
import { Rate } from 'antd';
|
||||
|
||||
|
@ -1,11 +1,10 @@
|
||||
# 文案展现
|
||||
|
||||
- order: 2
|
||||
---
|
||||
order: 2
|
||||
title: 文案展现
|
||||
---
|
||||
|
||||
给评分组件加上文案展示。
|
||||
|
||||
---
|
||||
|
||||
````jsx
|
||||
import { Rate } from 'antd';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user