From bc2b086862be459be256ac05cc1ae93a86065778 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Fri, 1 Apr 2016 10:12:02 +0800 Subject: [PATCH] docs: update demo format --- components/rate/demo/disabled.md | 9 ++++----- components/rate/demo/half.md | 9 ++++----- components/rate/demo/text.md | 9 ++++----- 3 files changed, 12 insertions(+), 15 deletions(-) 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';