diff --git a/src/time-picker/time-picker.jsx b/src/time-picker/time-picker.jsx index a8fab683100d21..70ee37330b5d0a 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) }; },