-
Notifications
You must be signed in to change notification settings - Fork 957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to customize Text proos on TopNavigation title & description #810
Comments
Hi @stay2be. I don't think that having something like Let's keep it open so we can track this and close in future releases. Thanks for reporting 👍 |
Hi @artyorsh, maybe modifying TopNavigationProps interface to receive title as React.ReactNode would make sense; this way, a component with all the required props set could be passed. In our case, we need to disable font scaling by setting allowFontScaling={false} |
Hi @artyorsh , some flexibility here would be nice, because we have also some cases where we need a multiline title and no truncation. |
Please add an option to add additional props to the Text component of TopNavigation used for title & description.
Our current use case is, that we need to truncate the text there and show ellipsis chars after. This could be achived by setting the
numberOfLines
prop on the<Text numberOfLines={1}>Some long tex...</Text>
component.Ref: https://stackoverflow.com/questions/30594080/how-to-have-ellipsis-effect-on-text
The text was updated successfully, but these errors were encountered: