, document.getElementById('components-popover-demo-basic'));
````
diff --git a/components/popover/demo/placement.md b/components/popover/demo/placement.md
index dd02dfcdef..ce1aa760a5 100644
--- a/components/popover/demo/placement.md
+++ b/components/popover/demo/placement.md
@@ -8,6 +8,8 @@
````jsx
var Popover = antd.Popover;
+var Button = antd.Button;
+
var text =
内容
@@ -16,16 +18,16 @@ var content =
React.render(
-
+
-
+
-
+
-
+
, document.getElementById('components-popover-demo-placement'));
````
diff --git a/components/popover/demo/triggerType.md b/components/popover/demo/triggerType.md
index 26c14e6095..5d5ed753e4 100644
--- a/components/popover/demo/triggerType.md
+++ b/components/popover/demo/triggerType.md
@@ -8,6 +8,8 @@
````jsx
var Popover = antd.Popover;
+var Button = antd.Button;
+
var content =
内容
内容
@@ -15,13 +17,13 @@ var content =
React.render(
-
+
- 聚焦
+
-
+
, document.getElementById('components-popover-demo-triggertype'));
````
diff --git a/components/progress/demo/circle-dynamic.md b/components/progress/demo/circle-dynamic.md
index 37a94fb84c..1ca37ca20d 100644
--- a/components/progress/demo/circle-dynamic.md
+++ b/components/progress/demo/circle-dynamic.md
@@ -8,6 +8,8 @@
````jsx
var ProgressCircle = antd.Progress.Circle;
+var Button = antd.Button;
+var ButtonGroup = antd.ButtonGroup;
var Icon = antd.Icon;
var MyProgress = React.createClass({
@@ -33,14 +35,14 @@ var MyProgress = React.createClass({
render() {
return
;
}
});
diff --git a/components/progress/demo/dynamic.md b/components/progress/demo/dynamic.md
index 3e93767d1d..3281f5a610 100644
--- a/components/progress/demo/dynamic.md
+++ b/components/progress/demo/dynamic.md
@@ -8,6 +8,8 @@
````jsx
var Progress = antd.Progress.Line;
+var Button = antd.Button;
+var ButtonGroup = antd.ButtonGroup;
var Icon = antd.Icon;
var MyProgress = React.createClass({
@@ -33,14 +35,14 @@ var MyProgress = React.createClass({
render() {
return
;
}
});
diff --git a/components/radio/demo/disable.md b/components/radio/demo/disable.md
index 324e60e88e..c5b9eef834 100644
--- a/components/radio/demo/disable.md
+++ b/components/radio/demo/disable.md
@@ -8,6 +8,7 @@ Radio 不可用。
````jsx
var Radio = antd.Radio;
+var Button = antd.Button;
function toggleDisabled() {
disabled = !disabled;
@@ -30,9 +31,9 @@ var App = React.createClass({
不可用
-
;
}
diff --git a/components/steps/demo/step-next.md b/components/steps/demo/step-next.md
index d3744e4613..da1e5d7665 100644
--- a/components/steps/demo/step-next.md
+++ b/components/steps/demo/step-next.md
@@ -15,6 +15,7 @@
````jsx
var Steps = antd.Steps;
var Step = Steps.Step;
+var Button = antd.Button;
var container = document.getElementById('components-steps-demo-step-next');
var array = Array.apply(null, Array(Math.floor(Math.random() * 3) + 3));
var steps = array.map(function(item, i) {
@@ -47,7 +48,7 @@ var App = React.createClass({
{steps.map((s, i) =>
)}
- 下一步
+ 下一步
);
diff --git a/components/switch/demo/disabled.md b/components/switch/demo/disabled.md
index f6c58c73e4..596f69ae71 100644
--- a/components/switch/demo/disabled.md
+++ b/components/switch/demo/disabled.md
@@ -8,6 +8,7 @@ Switch 失效状态。
````jsx
var Switch = antd.Switch;
+var Button = antd.Button;
var container = document.getElementById('components-switch-demo-disabled');
var Test = React.createClass({
@@ -26,7 +27,7 @@ var Test = React.createClass({
-
Toggle disabled
+
Toggle disabled
;
}
});
diff --git a/components/table/demo/ajax.md b/components/table/demo/ajax.md
index 7024590a76..d31eea88d6 100644
--- a/components/table/demo/ajax.md
+++ b/components/table/demo/ajax.md
@@ -10,6 +10,7 @@
````jsx
var Table = antd.Table;
+var Button = antd.Button;
var columns = [{
title: '姓名',
@@ -85,13 +86,13 @@ var Test = React.createClass({
render() {
return
-
+
重新加载数据
-
+
-
+
加载 city=hz 的数据
-
+
;
}
});
diff --git a/components/table/demo/local-data.md b/components/table/demo/local-data.md
index aa9d5a4455..48cd3999b7 100644
--- a/components/table/demo/local-data.md
+++ b/components/table/demo/local-data.md
@@ -8,6 +8,8 @@
````jsx
var Table = antd.Table;
+var Button = antd.Button;
+
var columns = [{
title: '姓名',
dataIndex: 'name',
@@ -73,9 +75,9 @@ var App = React.createClass({
render() {
return
-
加载本地数据1
+
加载本地数据1
-
加载本地数据2
+
加载本地数据2
;
}
})
diff --git a/components/upload/demo/basic.md b/components/upload/demo/basic.md
index 5b867e6106..d73217de25 100644
--- a/components/upload/demo/basic.md
+++ b/components/upload/demo/basic.md
@@ -9,6 +9,7 @@
````jsx
var Upload = antd.Upload;
var message = antd.message;
+var Button = antd.Button;
var Icon = antd.Icon;
var props = {
@@ -28,9 +29,9 @@ var props = {
React.render(
-
+
点击上传
-
+
, document.getElementById('components-upload-demo-basic'));
````
diff --git a/components/upload/demo/defaultFileList.md b/components/upload/demo/defaultFileList.md
index e60953a6a8..283ced92c9 100644
--- a/components/upload/demo/defaultFileList.md
+++ b/components/upload/demo/defaultFileList.md
@@ -8,6 +8,7 @@
````jsx
var Upload = antd.Upload;
+var Button = antd.Button;
var Icon = antd.Icon;
var props = {
@@ -33,9 +34,9 @@ var props = {
React.render(
-
+
点击上传
-
+
, document.getElementById('components-upload-demo-defaultfilelist'));
````
diff --git a/components/upload/demo/fileList.md b/components/upload/demo/fileList.md
index 429e784649..39c9089e70 100644
--- a/components/upload/demo/fileList.md
+++ b/components/upload/demo/fileList.md
@@ -14,6 +14,7 @@
````jsx
var Upload = antd.Upload;
+var Button = antd.Button;
var Icon = antd.Icon;
var fileList = [{
uid: -1,
@@ -63,9 +64,9 @@ var MyUpload = React.createClass({
multiple: true
};
return
-
+
点击上传
-
+
;
}
});
diff --git a/components/upload/demo/multiple.md b/components/upload/demo/multiple.md
index b27f0d2166..e54ff6b5d0 100644
--- a/components/upload/demo/multiple.md
+++ b/components/upload/demo/multiple.md
@@ -9,6 +9,7 @@
````jsx
var Upload = antd.Upload;
var message = antd.message;
+var Button = antd.Button;
var Icon = antd.Icon;
var props = {
@@ -28,9 +29,9 @@ var props = {
React.render(
-
+
点击上传
-
+
, document.getElementById('components-upload-demo-multiple'));
````
diff --git a/components/validation/demo/basic.md b/components/validation/demo/basic.md
index 012c0dc0e1..ba1849d3ad 100644
--- a/components/validation/demo/basic.md
+++ b/components/validation/demo/basic.md
@@ -17,6 +17,7 @@ var Select = antd.Select;
var Option = Select.Option;
var Radio = antd.Radio;
var RadioGroup = antd.Radio.Group;
+var Button = antd.Button;
function cx(classNames) {
if (typeof classNames === 'object') {
@@ -146,7 +147,7 @@ var Form = React.createClass({
var status = this.state.status;
return (
-