Is it possible to achieve contextual styling without using CSS selectors?
For example:
<Button primary>
<Text>BUTTON</Text> // if the button is primary then have 20px padding else 0
<Icon/> // if the button is primary then have red background
</Button>
I prefer not to use CSS for these styles because I want to share my components in React Native (where selectors and CSS are not used).