diff --git a/components/rate/demo/disabled.md b/components/rate/demo/disabled.md index 43a7b24608..b4dae71057 100644 --- a/components/rate/demo/disabled.md +++ b/components/rate/demo/disabled.md @@ -1,11 +1,10 @@ -# 只读 - -- order: 3 +--- +order: 3 +title: 只读 +--- 只读,无法进行鼠标交互。 ---- - ````jsx import { Rate } from 'antd'; diff --git a/components/rate/demo/half.md b/components/rate/demo/half.md index 1ad3470281..2496b560bd 100644 --- a/components/rate/demo/half.md +++ b/components/rate/demo/half.md @@ -1,11 +1,10 @@ -# 半星 - -- order: 1 +--- +order: 1 +title: 半星 +--- 支持选中半星。 ---- - ````jsx import { Rate } from 'antd'; diff --git a/components/rate/demo/text.md b/components/rate/demo/text.md index 499eaff6cf..886cbe7fbd 100644 --- a/components/rate/demo/text.md +++ b/components/rate/demo/text.md @@ -1,11 +1,10 @@ -# 文案展现 - -- order: 2 +--- +order: 2 +title: 文案展现 +--- 给评分组件加上文案展示。 ---- - ````jsx import { Rate } from 'antd';