1 | import _extends from "@babel/runtime/helpers/esm/extends";
|
2 | import { styled as styledWithoutDefault } from '@material-ui/styles';
|
3 | import defaultTheme from './defaultTheme';
|
4 |
|
5 | const styled = Component => {
|
6 | const componentCreator = styledWithoutDefault(Component);
|
7 | return (style, options) => componentCreator(style, _extends({
|
8 | defaultTheme
|
9 | }, options));
|
10 | };
|
11 |
|
12 | export default styled; |
\ | No newline at end of file |