Closed dherault closed 5 years ago
Hi 👋 I think it's a kinda misunderstanding. We mean you can pass any props that accept default text component exported from react-native
. But I agree there is a typo: it should be TextProps
Thanks for reporting!
Maybe state ...TextProps | TextProps
in the docs so the spread is intended.
Issue type
Issue description
Current behavior: For the
Text
component the documentation says:So you would expect to have:
Expected behavior: Whereas you have:
I think the second and current behavior is correct, and that you just need a way to update the documentation.