mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
💬 misc typos and blank spaces fixes
This commit is contained in:
parent
d0ca9ae05e
commit
86398d910a
@ -13,7 +13,6 @@ title:
|
|||||||
|
|
||||||
The input box comes in three sizes. `default` will be used if `size` is omitted.
|
The input box comes in three sizes. `default` will be used if `size` is omitted.
|
||||||
|
|
||||||
|
|
||||||
````jsx
|
````jsx
|
||||||
import { DatePicker, Radio } from 'antd';
|
import { DatePicker, Radio } from 'antd';
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ class App extends React.Component {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
this.props.form.validateFields((errors, values) => {
|
this.props.form.validateFields((errors, values) => {
|
||||||
if (errors) {
|
if (errors) {
|
||||||
console.log('Errors in form!!!');
|
console.log('Errors in the form!!!');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log('Submit!!!');
|
console.log('Submit!!!');
|
||||||
|
@ -11,7 +11,7 @@ title:
|
|||||||
|
|
||||||
## en-US
|
## 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.
|
set position of modal dialog.
|
||||||
|
|
||||||
````jsx
|
````jsx
|
||||||
|
@ -16,10 +16,10 @@ There are 12 `placement` options available. Use `arrowPointAtCenter` if you want
|
|||||||
````jsx
|
````jsx
|
||||||
import { Popconfirm, message, Button } from 'antd';
|
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() {
|
function confirm() {
|
||||||
message.info('Click on Yes.');
|
message.info('Clicked on Yes.');
|
||||||
}
|
}
|
||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
|
@ -11,7 +11,7 @@ title:
|
|||||||
|
|
||||||
## en-US
|
## en-US
|
||||||
|
|
||||||
You can custom text format by setting `format`.
|
You can set a custom text by setting the `format` prop.
|
||||||
|
|
||||||
````jsx
|
````jsx
|
||||||
import { Progress } from 'antd';
|
import { Progress } from 'antd';
|
||||||
|
@ -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.
|
Using the [Cascader](/components/cascader) component is strongly recommended instead as it is more flexible and capable.
|
||||||
|
|
||||||
|
|
||||||
````jsx
|
````jsx
|
||||||
import { Select } from 'antd';
|
import { Select } from 'antd';
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ title:
|
|||||||
|
|
||||||
## en-US
|
## 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.**
|
**Note, this example use [Mock API](https://randomuser.me) that you can look up in Network Console.**
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@ title:
|
|||||||
|
|
||||||
A disabled state of the `TimePicker`.
|
A disabled state of the `TimePicker`.
|
||||||
|
|
||||||
|
|
||||||
````jsx
|
````jsx
|
||||||
import { TimePicker } from 'antd';
|
import { TimePicker } from 'antd';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
|
Loading…
Reference in New Issue
Block a user