diff --git a/components/date-picker/demo/size.md b/components/date-picker/demo/size.md index 2d7f675620..fea5156c8c 100644 --- a/components/date-picker/demo/size.md +++ b/components/date-picker/demo/size.md @@ -13,7 +13,6 @@ title: The input box comes in three sizes. `default` will be used if `size` is omitted. - ````jsx import { DatePicker, Radio } from 'antd'; diff --git a/components/mention/demo/controlled.md b/components/mention/demo/controlled.md index c71240c919..a1f3830fe5 100644 --- a/components/mention/demo/controlled.md +++ b/components/mention/demo/controlled.md @@ -33,7 +33,7 @@ class App extends React.Component { e.preventDefault(); this.props.form.validateFields((errors, values) => { if (errors) { - console.log('Errors in form!!!'); + console.log('Errors in the form!!!'); return; } console.log('Submit!!!'); diff --git a/components/modal/demo/position.md b/components/modal/demo/position.md index b80e9305d2..6f1af499ec 100644 --- a/components/modal/demo/position.md +++ b/components/modal/demo/position.md @@ -11,7 +11,7 @@ title: ## en-US -After release `1.0`, Modal's `align` prop was removed. You can use `style.top` or other styles to +After release `1.0`, Modal's `align` prop was removed. You can use `style.top` or other styles to set position of modal dialog. ````jsx diff --git a/components/popconfirm/demo/placement.md b/components/popconfirm/demo/placement.md index 443917f5cc..8af84bc6b2 100755 --- a/components/popconfirm/demo/placement.md +++ b/components/popconfirm/demo/placement.md @@ -16,10 +16,10 @@ There are 12 `placement` options available. Use `arrowPointAtCenter` if you want ````jsx import { Popconfirm, message, Button } from 'antd'; -const text = 'Are you sure delete this task?'; +const text = 'Are you sure to delete this task?'; function confirm() { - message.info('Click on Yes.'); + message.info('Clicked on Yes.'); } ReactDOM.render( diff --git a/components/progress/demo/format.md b/components/progress/demo/format.md index ebbbcd0926..1c3df31ed8 100644 --- a/components/progress/demo/format.md +++ b/components/progress/demo/format.md @@ -11,7 +11,7 @@ title: ## en-US -You can custom text format by setting `format`. +You can set a custom text by setting the `format` prop. ````jsx import { Progress } from 'antd'; diff --git a/components/select/demo/coordinate.md b/components/select/demo/coordinate.md index e11dbb5f91..2e69de5d1b 100644 --- a/components/select/demo/coordinate.md +++ b/components/select/demo/coordinate.md @@ -17,7 +17,6 @@ Coordinating the selection of provinces and cities is a common use case and demo Using the [Cascader](/components/cascader) component is strongly recommended instead as it is more flexible and capable. - ````jsx import { Select } from 'antd'; diff --git a/components/table/demo/ajax.md b/components/table/demo/ajax.md index 354166e3ac..e14d73a03b 100644 --- a/components/table/demo/ajax.md +++ b/components/table/demo/ajax.md @@ -15,7 +15,7 @@ title: ## en-US -This example shows how to fetch and present data from remote server, and how to implement filtering and sorting in server side by sending related parameters to server. +This example shows how to fetch and present data from a remote server, and how to implement filtering and sorting in server side by sending related parameters to server. **Note, this example use [Mock API](https://randomuser.me) that you can look up in Network Console.** diff --git a/components/time-picker/demo/disabled.md b/components/time-picker/demo/disabled.md index 4f765f62c8..4879834c4f 100644 --- a/components/time-picker/demo/disabled.md +++ b/components/time-picker/demo/disabled.md @@ -13,7 +13,6 @@ title: A disabled state of the `TimePicker`. - ````jsx import { TimePicker } from 'antd'; import moment from 'moment';