UNPKG

@makeen.io/material-ui-kit

Version:
13 lines (10 loc) 1.21 kB
import _extends from "@babel/runtime/helpers/extends";import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";function _templateObject() {var data = _taggedTemplateLiteral(["\n background-color: ", ";\n border: solid 0.5px\n ", ";\n padding: ", ";\n border-radius: 4px;\n max-width: ", ";\n"]);_templateObject = function _templateObject() {return data;};return data;}import React from "react"; import styled from "styled-components"; export default styled(function (_ref) {var children = _ref.children,args = _objectWithoutProperties(_ref, ["children"]); return /*#__PURE__*/React.createElement("div", _extends({}, args), children); })(_templateObject(), function (props) {return props.theme.palette.contentBox.backgroundColor;}, function (props) {return props.theme.palette.contentBox.borderColor;}, function (_ref2) {var theme = _ref2.theme,paddings = _ref2.paddings;return paddings || theme.sizes.contentBox.defaultPaddings;}, function (_ref3) {var width = _ref3.width,theme = _ref3.theme;return width || theme.sizes.contentBox.defaultWidth;}); //# sourceMappingURL=index.js.map