@material-ui/core
Version:
React components that implement Google's Material Design.
12 lines (10 loc) • 386 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
import { styled as styledWithoutDefault } from '@material-ui/styles';
import defaultTheme from './defaultTheme';
const styled = Component => {
const componentCreator = styledWithoutDefault(Component);
return (style, options) => componentCreator(style, _extends({
defaultTheme
}, options));
};
export default styled;