UNPKG

norma-library

Version:

Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.

17 lines 805 B
import { __makeTemplateObject } from "tslib"; import styled from 'styled-components'; var setSizeSelected = function (size) { switch (size) { case "small": return "10px"; case "medium": return "16px"; case "large": return "24px"; default: return "16px"; } }; export var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background: #fff;\n border-radius: 5px;\n width: 100%;\n box-shadow: 0px 2px 6px #0000000A;\n padding: ", "\n"], ["\n background: #fff;\n border-radius: 5px;\n width: 100%;\n box-shadow: 0px 2px 6px #0000000A;\n padding: ", "\n"])), function (props) { return setSizeSelected(props.size); }); var templateObject_1; //# sourceMappingURL=styles.js.map