You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I posted this on StackOverflow, unsure on the best forum for this:
If I'm using react-themeable, often I want a component like:
const styles = require('./component.css');
class Component extends React.Component {
render() {
let customTheme = this.props.theme;
return <div className={styles.container}>Hi</div>;
}
}
If I have a theme I pass into the component via props, is there a way with react-themeable where I can merge the theme from the css file AND the theme from the props.
This mean consumers can override bits of the theme they want.
The text was updated successfully, but these errors were encountered:
I posted this on StackOverflow, unsure on the best forum for this:
If I'm using react-themeable, often I want a component like:
If I have a theme I pass into the component via props, is there a way with react-themeable where I can merge the theme from the css file AND the theme from the props.
This mean consumers can override bits of the theme they want.
The text was updated successfully, but these errors were encountered: