Skip to content

Commit

Permalink
chore: add autoCorrect prop to TextInput component (#116)
Browse files Browse the repository at this point in the history
## Short description
This PR adds the `autoCorrect` prop to `TextInput` component

## List of changes proposed in this pull request
-
[src/components/textInput/TextInputBase.tsx](https://github.com/pagopa/io-app-design-system/compare/add-auto-correct-prop-to-text-input?expand=1#diff-4c896698eb784ea23eeccb310d573873e1d296d505cf84c166d59f61be6e3968):
added `autoCorrect` in the Pick type

## How to test
On a `TextInput` component, try to pass the `autoCorrect` prop in the
`textInputProps` and check if the component has the expected behavior.
  • Loading branch information
mastro993 authored Oct 23, 2023
1 parent 09691e5 commit b3ab701
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/textInput/TextInputBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type RNTextInputProps = Pick<
| "autoComplete"
| "returnKeyType"
| "autoCapitalize"
| "autoCorrect"
>;

type InputTextProps = {
Expand Down

0 comments on commit b3ab701

Please sign in to comment.