We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
RN 0.53.3 NB 2.3.9
text is rendered with intended styles
Application throws an exception
Provide an array as value to fontVariant property in any theme file. Example:
import variable from "./../variables/platform"; export default (variables = variable) => { const h1Theme = { color: variables.textColor, fontSize: variables.fontSizeH1, lineHeight: variables.lineHeightH1, fontWeight: '200', fontVariant: ['small-caps'] }; return h1Theme; };
Yes
fontVariant expects an array as per documentation - https://facebook.github.io/react-native/docs/text-style-props.html#fontvariant
The text was updated successfully, but these errors were encountered:
Attempt to fix issue #1637 (fontVariant (array of enum) not supported…
762102d
… from theme files)
Merge pull request #1659 from GeekyAnts/fix/theme-fontVariant
c8026bd
Fixed with NB 2.3.10
Sorry, something went wrong.
No branches or pull requests
react-native, react and native-base version
RN 0.53.3
NB 2.3.9
Expected behaviour
text is rendered with intended styles
Actual behaviour
Application throws an exception
Steps to reproduce (code snippet or screenshot)
Provide an array as value to fontVariant property in any theme file. Example:
Screenshot of emulator/device
Is the bug present in both ios and android or in any one of them?
Yes
Any other additional info which would help us debug the issue quicker.
fontVariant expects an array as per documentation - https://facebook.github.io/react-native/docs/text-style-props.html#fontvariant
The text was updated successfully, but these errors were encountered: