Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ant-design/ant-design
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed May 20, 2019
2 parents 95044af + a4054bf commit 6e7c5a9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 22 deletions.
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Expand Up @@ -43,10 +43,10 @@ Please makes sure that these form are filled before submitting your pull request
Describe changes from userside, and list all potential break changes or other risks.
--->

| Language | Changelog |
|---|---
| 🇺🇸 English | |
| 🇨🇳 Chinese | |
| Language | Changelog |
| ---------- | --------- |
| 🇺🇸 English | |
| 🇨🇳 Chinese | |

### ☑️ Self Check before Merge

Expand Down
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE/pr_cn.md
Expand Up @@ -43,10 +43,10 @@
> 从用户角度描述具体变化,以及可能的 breaking change 和其他风险?
-->

| 语言 | 更新描述 |
|---|---
| 🇺🇸 英文 | |
| 🇨🇳 中文 | |
| 语言 | 更新描述 |
| ------- | -------- |
| 🇺🇸 英文 | |
| 🇨🇳 中文 | |

- 中文(可选):

Expand Down
11 changes: 4 additions & 7 deletions components/form/index.en-US.md
Expand Up @@ -225,7 +225,7 @@ See more advanced usage at [async-validator](https://github.com/yiminghe/async-v

## Using in TypeScript

```jsx
```tsx
import { Form } from 'antd';
import { FormComponentProps } from 'antd/lib/form';

Expand All @@ -238,12 +238,9 @@ class UserForm extends React.Component<UserFormProps, any> {
// ...
}

const App =
Form.create <
UserFormProps >
{
// ...
}(UserForm);
const App = Form.create<UserFormProps>({
// ...
})(UserForm);
```

<style>
Expand Down
11 changes: 4 additions & 7 deletions components/form/index.zh-CN.md
Expand Up @@ -227,7 +227,7 @@ validateFields(['field1', 'field2'], options, (errors, values) => {

## 在 TypeScript 中使用

```jsx
```tsx
import { Form } from 'antd';
import { FormComponentProps } from 'antd/lib/form';

Expand All @@ -240,12 +240,9 @@ class UserForm extends React.Component<UserFormProps, any> {
// ...
}

const App =
Form.create <
UserFormProps >
{
// ...
}(UserForm);
const App = Form.create<UserFormProps>({
// ...
})(UserForm);
```

<style>
Expand Down

0 comments on commit 6e7c5a9

Please sign in to comment.