Replies: 1 comment
-
Hi @wortkotze Thank you 🙏 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I try to uset the setComponentTheme to apply our Designsystem to the existing component. It is working on a normal View component but the properties borderRadius and padding are not working on the Touchable Opacity. The Backgorund Color is working. Is this a known issue or do I do something wrong :(
thx for the help
Stephan
ThemeManager.setComponentTheme("TouchableOpacity", (props, context) => {
return {
borderRadius: props.Background ? 4 : 0,
backgroundColor: props.Background
? "rgba(255,255,255,0.25)"
: "transparent",
padding: props.Background ? 10 : 0,
};
});
Beta Was this translation helpful? Give feedback.
All reactions