fix(LogMonitor): allow a string for the theme prop

This commit is contained in:
Nik Graf 2015-09-20 18:25:22 +02:00
parent ef559a4848
commit c5165b1bce

View File

@ -55,7 +55,10 @@ export default class LogMonitor extends Component {
setMonitorState: PropTypes.func.isRequired,
select: PropTypes.func.isRequired,
visibleOnLoad: PropTypes.bool,
theme: PropTypes.object
theme: PropTypes.oneOfType([
PropTypes.object,
PropTypes.string
])
};
static defaultProps = {