import classnames from 'classnames'; import { Component } from 'react'; import injectStyle, { WithStylesProps } from 'react-jss'; import ReactLoader from 'react-loader'; interface IProps extends WithStylesProps { className?: string; color?: string; } const styles = theme => ({ container: { position: 'relative', height: 60, }, loader: {}, color: theme.colorText, }); class LoaderComponent extends Component { render() { const { classes, className, color } = this.props; return (
); } } export default injectStyle(styles, { injectTheme: true })(LoaderComponent);