Skip to content

Commit

Permalink
docs: Update index.en-US.md (ant-design#52614)
Browse files Browse the repository at this point in the history
* Update index.en-US.md

Fixed misleading description of Input.Search enterButton prop

Signed-off-by: Muhammad Taif Khan <muhammadtaif214@gmail.com>

* Update components/input/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Muhammad Taif Khan <muhammadtaif214@gmail.com>

---------

Signed-off-by: Muhammad Taif Khan <muhammadtaif214@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
  • Loading branch information
Muhammad-Taif-Khan and afc163 authored Jan 28, 2025
1 parent 2de4cb2 commit a10d54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/input/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ The rest of the props of `Input.TextArea` are the same as the original [textarea

| Property | Description | Type | Default |
| --- | --- | --- | --- |
| enterButton | Whether to show an enter button after input. This property conflicts with the `addonAfter` property | ReactNode | false |
| enterButton | false displays the default button color, true uses the primary color, or you can provide a custom button. Conflicts with addonAfter. | ReactNode | false |
| loading | Search box with loading | boolean | false |
| onSearch | The callback function triggered when you click on the search-icon, the clear-icon or press the Enter key | function(value, event, { source: "input" \| "clear" }) | - |

Expand Down

0 comments on commit a10d54e

Please sign in to comment.