diff --git a/README.md b/README.md index 3506be3..030fe17 100644 --- a/README.md +++ b/README.md @@ -58,20 +58,21 @@ For more detailed example, take a look at the demo app inside [example/](./examp ## ⚪ Props -| Property | Type | Default | Description | -|-------------------|------------|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| flagUndetermined | string? | `❓` | Displayed when country code cannot be derived from current phone number. | -| onEndEditing | `function` | undefined | Callback that is called when text input ends [ text input ends](https://reactnative.dev/docs/textinput#onendediting).
It receives [`result`](.src/index.ts#L124). | -| onValidation | `function` | undefined | Callback that is called each time the validation status changes. | -| defaultCountry | `string` | undefined | Two letter code for default country, eg. `BG` | -| defaultPrefix | `string` | undefined | Default number prefix, eg. `+359` | -| defaultValue | `string` | undefined | Default value for the `TextInput`, if you want to pre-populate it. | -| defaultFlag | `string` | undefined | Emoji for the default flag, eg. `🇧🇬` | -| containerStyle | `object` | undefined | Styles for the component's wrapper `` | -| flagContainerStyle | `object` | undefined | Styles for the flag emoji wrapper `` | -| flagTextStyle | `object` | undefined | Styles for the flag emoji `` | -| textInputStyle | `object` | undefined | Styles for the underlying `` | -| textInputProps | `object` | undefined | [Additional props](https://reactnative.dev/docs/textinput#props) for the underlying `` | +| Property | Type | Default | Description | +|-------------------|------------|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| flagUndetermined | string? | `❓` | Displayed when country code cannot be derived from current phone number. | +| onEndEditing | `function` | undefined | Callback that is called when text input ends [ text input ends](https://reactnative.dev/docs/textinput#onendediting).
It receives [`result`](.src/index.ts#L124). | +| onValidation | `function` | undefined | Callback that is called each time the validation status changes. | +| onValueUpdate | `function` | undefined | Callback that is called each time the underlying `value` changes. | +| defaultCountry | `string` | undefined | Two letter code for default country, eg. `BG` | +| defaultPrefix | `string` | undefined | Default number prefix, eg. `+359` | +| defaultValue | `string` | undefined | Default value for the `TextInput`, if you want to pre-populate it. | +| defaultFlag | `string` | undefined | Emoji for the default flag, eg. `🇧🇬` | +| containerStyle | `object` | undefined | Styles for the component's wrapper `` | +| flagContainerStyle | `object` | undefined | Styles for the flag emoji wrapper `` | +| flagTextStyle | `object` | undefined | Styles for the flag emoji `` | +| textInputStyle | `object` | undefined | Styles for the underlying `` | +| textInputProps | `object` | undefined | [Additional props](https://reactnative.dev/docs/textinput#props) for the underlying `` | ## Contributing