From e78190cb2eb07b377f24d409201abe3b75fb0260 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 22 Aug 2015 20:28:00 +0800 Subject: [PATCH] Fix form demo --- components/form/demo/form-controls.md | 2 +- components/form/demo/inputs.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/form/demo/form-controls.md b/components/form/demo/form-controls.md index 8fb9eef3bd..1bd847d6ed 100644 --- a/components/form/demo/form-controls.md +++ b/components/form/demo/form-controls.md @@ -13,7 +13,7 @@ var Select = antd.Select; var Option = Select.Option; var Checkbox = antd.Checkbox; var Radio = antd.Radio; -var RadioGroup = antd.RadioGroup; +var RadioGroup = antd.Radio.Group; function handleSelectChange(value) { console.log('selected ' + value); diff --git a/components/form/demo/inputs.md b/components/form/demo/inputs.md index dad72eadb7..02bf43d977 100644 --- a/components/form/demo/inputs.md +++ b/components/form/demo/inputs.md @@ -17,7 +17,7 @@ React.render(
Http:// - +
@@ -26,7 +26,7 @@ React.render(
Http:// - + .com
@@ -71,7 +71,7 @@ React.render(
- +

--