diff --git a/src/time-picker/time-picker.jsx b/src/time-picker/time-picker.jsx index a8fab683100d21..c46212f9b5b02e 100644 --- a/src/time-picker/time-picker.jsx +++ b/src/time-picker/time-picker.jsx @@ -3,6 +3,8 @@ const StylePropable = require('../mixins/style-propable'); const WindowListenable = require('../mixins/window-listenable'); const TimePickerDialog = require('./time-picker-dialog'); const TextField = require('../text-field'); +const ThemeManager = require('../styles/theme-manager'); +const DefaultRawTheme = require('../styles/raw-themes/light-raw-theme'); let emptyTime = new Date(); @@ -50,6 +52,7 @@ const TimePicker = React.createClass({ return { time: this.props.defaultTime || emptyTime, dialogTime: new Date(), + muiTheme: this.context.muiTheme ? this.context.muiTheme : ThemeManager.getMuiTheme(DefaultRawTheme), }; },