提交 a4054bff 编写于 作者: Z zombiej

prettier md files

上级 eea2272f
......@@ -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
......
......@@ -43,10 +43,10 @@
> 从用户角度描述具体变化,以及可能的 breaking change 和其他风险?
-->
| 语言 | 更新描述 |
|---|---
| 🇺🇸 英文 | |
| 🇨🇳 中文 | |
| 语言 | 更新描述 |
| ------- | -------- |
| 🇺🇸 英文 | |
| 🇨🇳 中文 | |
- 中文(可选):
......
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册