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