We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c03f3f9 commit 904b92eCopy full SHA for 904b92e
src/time-picker/time-picker.jsx
@@ -3,6 +3,8 @@ const StylePropable = require('../mixins/style-propable');
3
const WindowListenable = require('../mixins/window-listenable');
4
const TimePickerDialog = require('./time-picker-dialog');
5
const TextField = require('../text-field');
6
+const ThemeManager = require('../styles/theme-manager');
7
+const DefaultRawTheme = require('../styles/raw-themes/light-raw-theme');
8
9
10
let emptyTime = new Date();
@@ -50,6 +52,7 @@ const TimePicker = React.createClass({
50
52
return {
51
53
time: this.props.defaultTime || emptyTime,
54
dialogTime: new Date(),
55
+ muiTheme: this.context.muiTheme ? this.context.muiTheme : ThemeManager.getMuiTheme(DefaultRawTheme)
56
};
57
},
58
0 commit comments