💬 misc typos and blank spaces fixes

This commit is contained in:
Ilan Hasanov 2018-07-28 18:58:10 +02:00 committed by 偏右
parent d0ca9ae05e
commit 86398d910a
8 changed files with 6 additions and 9 deletions

View File

@ -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';

View File

@ -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!!!');

View File

@ -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

View File

@ -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(

View File

@ -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';

View File

@ -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';

View File

@ -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.**

View File

@ -13,7 +13,6 @@ title:
A disabled state of the `TimePicker`.
````jsx
import { TimePicker } from 'antd';
import moment from 'moment';