Browse Source

prettier md files

pull/16675/head
zombiej 6 years ago
parent
commit
a4054bffe7
  1. 8
      .github/PULL_REQUEST_TEMPLATE.md
  2. 8
      .github/PULL_REQUEST_TEMPLATE/pr_cn.md
  3. 11
      components/form/index.en-US.md
  4. 11
      components/form/index.zh-CN.md

8
.github/PULL_REQUEST_TEMPLATE.md

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

8
.github/PULL_REQUEST_TEMPLATE/pr_cn.md

@ -43,10 +43,10 @@
> 从用户角度描述具体变化,以及可能的 breaking change 和其他风险?
-->
| 语言 | 更新描述 |
|---|---
| 🇺🇸 英文 | |
| 🇨🇳 中文 | |
| 语言 | 更新描述 |
| ------- | -------- |
| 🇺🇸 英文 | |
| 🇨🇳 中文 | |
- 中文(可选):

11
components/form/index.en-US.md

@ -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';
@ -238,12 +238,9 @@ class UserForm extends React.Component<UserFormProps, any> {
// ...
}
const App =
Form.create <
UserFormProps >
{
// ...
}(UserForm);
const App = Form.create<UserFormProps>({
// ...
})(UserForm);
```
<style>

11
components/form/index.zh-CN.md

@ -227,7 +227,7 @@ validateFields(['field1', 'field2'], options, (errors, values) => {
## 在 TypeScript 中使用
```jsx
```tsx
import { Form } from 'antd';
import { FormComponentProps } from 'antd/lib/form';
@ -240,12 +240,9 @@ class UserForm extends React.Component<UserFormProps, any> {
// ...
}
const App =
Form.create <
UserFormProps >
{
// ...
}(UserForm);
const App = Form.create<UserFormProps>({
// ...
})(UserForm);
```
<style>

Loading…
Cancel
Save