-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
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.
Vishwaas
Metadata
Metadata
Assignees
Labels
No labels