Skip to content

Commit

Permalink
docs: update copy
Browse files Browse the repository at this point in the history
  • Loading branch information
cf-remylenoir committed Oct 19, 2023
1 parent 20749ea commit 22dffb6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/components/forms/src/TextInput/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ When `TextInput` is used outside of form (without `FormControl`) and has no `<la

### Using an icon

It is possible to pass an icon to the `TextInput`, it will be rendered on the left hand side of the input.
Example of usage:
It is possible to provide an icon to the `TextInput`. It will be displayed on the left-hand side of the input.

```jsx file=../../examples/TextInputIconExample.tsx

Expand All @@ -65,7 +64,6 @@ Example of usage:
### With different sizes

`TextInput` comes with the `small` and `medium` sizes.
Example of usage:

```jsx file=../../examples/TextInputSizeExample.tsx

Expand All @@ -74,7 +72,6 @@ Example of usage:
### With action buttons

`TextInput.Group` enables the user to set a button at the start or end of an input, with some spacing or collapsed.
Example of usage:

```jsx file=../../examples/TextInputGroupExample.tsx

Expand Down

0 comments on commit 22dffb6

Please sign in to comment.