Browse Source

docs: update demo format

pull/1319/head
Benjy Cui 9 years ago
parent
commit
bc2b086862
  1. 9
      components/rate/demo/disabled.md
  2. 9
      components/rate/demo/half.md
  3. 9
      components/rate/demo/text.md

9
components/rate/demo/disabled.md

@ -1,11 +1,10 @@
# 只读
- order: 3
---
order: 3
title: 只读
---
只读,无法进行鼠标交互。
---
````jsx
import { Rate } from 'antd';

9
components/rate/demo/half.md

@ -1,11 +1,10 @@
# 半星
- order: 1
---
order: 1
title: 半星
---
支持选中半星。
---
````jsx
import { Rate } from 'antd';

9
components/rate/demo/text.md

@ -1,11 +1,10 @@
# 文案展现
- order: 2
---
order: 2
title: 文案展现
---
给评分组件加上文案展示。
---
````jsx
import { Rate } from 'antd';

Loading…
Cancel
Save