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
Hi, so i tried changing the style of the text1 prop like so:
error: ({ text1, text2, ...rest }) => ( <BaseToast {...rest} leadingIcon={ICONS.error} style={{ borderLeftColor: COLORS.danger }} text1Style={{ ...FONTS.h6 }} text2Style={{ ...FONTS.body5 }} text1={text1} text2={text2} /> ),
Problem is that the styles in FONTS.h6 i.e ( fontFamily: 'Poppins-Regular', fontSize: 12 ) are not been applied. What am i doing wrong pls ?
The text was updated successfully, but these errors were encountered:
Same for me, the styling is not applied.
Sorry, something went wrong.
Same for me, the styling in text1 is not applied. It only works after trying insert fontWeight: 'normal' in text1Style
Fixed in v2.0.0. Read the complete changelog.
v2.0.0
If you find any issues with the v2 implementation, feel free to reopen this issue. Thanks!
No branches or pull requests
Hi, so i tried changing the style of the text1 prop like so:
Problem is that the styles in FONTS.h6 i.e ( fontFamily: 'Poppins-Regular', fontSize: 12 ) are not been applied. What am i doing wrong pls ?
The text was updated successfully, but these errors were encountered: