refactor: refine some typos (#25036)

This commit is contained in:
二手掉包工程师 2020-06-17 10:58:24 +08:00 committed by GitHub
parent 8dc16037d0
commit 39fe6fdcb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -109,7 +109,7 @@ describe('Input.Password', () => {
});
// https://github.com/ant-design/ant-design/pull/20544#issuecomment-569861679
it('should not contain value attribute in input element with defautValue', async () => {
it('should not contain value attribute in input element with defaultValue', async () => {
const wrapper = mount(<Input.Password defaultValue="value" />);
await sleep();
expect(wrapper.find('input').at('0').getDOMNode().getAttribute('value')).toBeFalsy();

View File

@ -2299,7 +2299,7 @@ Array [
>
<input
class="ant-input"
placeholder="input search loading deault"
placeholder="input search loading default"
type="text"
value=""
/>

View File

@ -11,7 +11,7 @@ title:
## en-US
`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.
`autoSize` prop for a `textarea` type of `Input` makes the height to automatically adjust based on the content. An option object can be provided to `autoSize` to specify the minimum and maximum number of lines the textarea will automatically adjust.
```jsx
import { Input } from 'antd';

View File

@ -13,7 +13,7 @@ title:
## en-US
Input.Group example
Input.Group example.
Note: You don't need `Col` to control the width in the `compact` mode.

View File

@ -11,7 +11,7 @@ title:
## en-US
Add prefix or suffix icons inside input.
Add a prefix or suffix icons inside input.
```jsx
import { Input, Tooltip } from 'antd';

View File

@ -20,7 +20,7 @@ const { Search } = Input;
ReactDOM.render(
<>
<Search placeholder="input search loading deault" loading />
<Search placeholder="input search loading default" loading />
<br />
<br />
<Search placeholder="input search loading with enterButton" loading enterButton />