Browse Source

Merge origin/4.0-prepare into feat-dark-palette

pull/20281/head
ycjcl868 5 years ago
parent
commit
a8579affd1
  1. 5
      README-zh_CN.md
  2. 2
      components/card/index.en-US.md
  3. 2
      components/card/index.zh-CN.md
  4. 2
      components/input/index.en-US.md
  5. 2
      components/input/index.zh-CN.md
  6. 2
      components/menu/index.en-US.md
  7. 2
      components/menu/index.zh-CN.md
  8. 4
      components/pagination/index.en-US.md
  9. 4
      components/pagination/index.zh-CN.md
  10. 8
      components/select/index.en-US.md

5
README-zh_CN.md

@ -53,7 +53,7 @@ yarn add antd
## 🔨 示例
````jsx
```jsx
import { Button, DatePicker } from 'antd';
const App = () => (
@ -62,12 +62,13 @@ const App = () => (
<DatePicker />
</>
);
```
引入样式:
```jsx
import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
````
```
你也可以使用 [babel-plugin-import](https://ant.design/docs/react/getting-started-cn#按需加载)。

2
components/card/index.en-US.md

@ -13,7 +13,7 @@ A card can be used to display content related to a single subject. The content c
## API
```html
```jsx
<Card title="Card title">Card content</Card>
```

2
components/card/index.zh-CN.md

@ -14,7 +14,7 @@ cols: 1
## API
```html
```jsx
<Card title="卡片标题">卡片内容</Card>
```

2
components/input/index.en-US.md

@ -66,7 +66,7 @@ Supports all props of `Input`.
| compact | Whether use compact style | boolean | false |
| size | The size of `Input.Group` specifies the size of the included `Input` fields. Available: `large` `default` `small` | string | `default` |
```html
```jsx
<Input.Group>
<input />
<input />

2
components/input/index.zh-CN.md

@ -67,7 +67,7 @@ Input 的其他属性和 React 自带的 [input](https://facebook.github.io/reac
| compact | 是否用紧凑模式 | boolean | false |
| size | `Input.Group` 中所有的 `Input` 的大小,可选 `large` `default` `small` | string | `default` |
```html
```jsx
<Input.Group>
<input />
<input />

2
components/menu/index.en-US.md

@ -15,7 +15,7 @@ More layouts with navigation: [Layout](/components/layout).
## API
```html
```jsx
<menu>
<Menu.Item>Menu</Menu.Item>
<SubMenu title="SubMenu">

2
components/menu/index.zh-CN.md

@ -16,7 +16,7 @@ subtitle: 导航菜单
## API
```html
```jsx
<menu>
<Menu.Item>菜单项</Menu.Item>
<SubMenu title="子菜单">

4
components/pagination/index.en-US.md

@ -14,8 +14,8 @@ A long list can be divided into several pages using `Pagination`, and only one p
## API
```html
<Pagination onChange="{onChange}" total="{50}" />
```jsx
<Pagination onChange={onChange} total={50} />
```
| Property | Description | Type | Default | Version |

4
components/pagination/index.zh-CN.md

@ -15,8 +15,8 @@ cols: 1
## API
```html
<Pagination onChange="{onChange}" total="{50}" />
```jsx
<Pagination onChange={onChange} total={50} />
```
| 参数 | 说明 | 类型 | 默认值 | 版本 |

8
components/select/index.en-US.md

@ -13,10 +13,10 @@ Select component to select value from options.
## API
```html
<select>
<option value="lucy">lucy</option>
</select>
```jsx
<Select>
<Option value="lucy">lucy</Option>
</Select>
```
### Select props

Loading…
Cancel
Save