-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
customization: themeHigher level theming customizability.Higher level theming customizability.
Description
ThemeDecorator appears to swallow all custom properties set on a component.
Example:
@ThemeDecorator(ThemeManager.getMuiTheme(MyTheme))
class MyComponent extends React.Component {
constructor(props) {
console.log("Props:", props);
super(props);
}
}Usage:
<MyComponent myProp="foo"/>Expected log output is "Props: Object {myProp: "foo"}", but when applying the ThemeDecorator to the component the output becomes simply "Props: Object {}".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
customization: themeHigher level theming customizability.Higher level theming customizability.