mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-08 01:53:34 +08:00
💬 input component blank spaces remove
This commit is contained in:
parent
8ee70e84b6
commit
d0ca9ae05e
@ -14,7 +14,6 @@ title:
|
|||||||
`autosize` prop for a `textarea` type of `Input` makes the height to automatically adjust based on the content.
|
`autosize` prop for a `textarea` type of `Input` makes the height to automatically adjust based on the content.
|
||||||
An options object can be provided to `autosize` to specify the minimum and maximum number of lines the textarea will automatically adjust.
|
An options object can be provided to `autosize` to specify the minimum and maximum number of lines the textarea will automatically adjust.
|
||||||
|
|
||||||
|
|
||||||
````jsx
|
````jsx
|
||||||
import { Input } from 'antd';
|
import { Input } from 'antd';
|
||||||
|
|
||||||
|
@ -9,12 +9,10 @@ title:
|
|||||||
|
|
||||||
我们为 `<Input />` 输入框定义了三种尺寸(大、默认、小),高度分别为 `40px`、`32px` 和 `24px`。
|
我们为 `<Input />` 输入框定义了三种尺寸(大、默认、小),高度分别为 `40px`、`32px` 和 `24px`。
|
||||||
|
|
||||||
|
|
||||||
## en-US
|
## en-US
|
||||||
|
|
||||||
There are three sizes of an Input box: `large` (40px)、`default` (32px) and `small` (24px).
|
There are three sizes of an Input box: `large` (40px)、`default` (32px) and `small` (24px).
|
||||||
|
|
||||||
|
|
||||||
````jsx
|
````jsx
|
||||||
import { Input } from 'antd';
|
import { Input } from 'antd';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user