Skip to content

Conversation

@Jaredude
Copy link

inputStyle is spread first, allowing the fixed props of fontSize, baseColor, textColor, disabled, multiline to override
This allows for all TextStyleProps to be supported (e.g. textAlign) by the TextInput componant.
using textAlign as an example: it's determined by I18nManager in styles. This PR allows flexibility for a non-RTL environment to include textAlign: 'right' fields (useful for currency and accounting)

inputStyle is spread first, allowing the fixed props of fontSize, baseColor, textColor, disabled, multiline to override
This allows for all TextStyleProps to be supported (e.g. textAlign) by the TextInput componant.
using textAlign as an example: it's determined by I18nManager. This allows flexibility for a non-RTL environment to include textAlign: 'right' fields (useful for currency and acounting)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant