UNPKG

@react-pakistan/react-ui-collection

Version:

React UI Collection built upon React Storybook

38 lines (37 loc) 2.22 kB
"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.MenuItem = void 0; var styled_components_1 = __importDefault(require("styled-components")); exports.MenuItem = styled_components_1.default.p(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin: 0;\n padding: 0;\n font-style: normal;\n font-stretch: normal;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n text-align: ", ";\n text-transform: ", ";\n color: ", ";\n"], ["\n margin: 0;\n padding: 0;\n font-style: normal;\n font-stretch: normal;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n text-align: ", ";\n text-transform: ", ";\n color: ", ";\n"])), function (_a) { var fontFamily = _a.fontFamily, theme = _a.theme; return fontFamily || theme.typography.p1.fontFamily; }, function (_a) { var fontSize = _a.fontSize, theme = _a.theme; return fontSize || theme.typography.p1.fontSize; }, function (_a) { var fontWeight = _a.fontWeight, theme = _a.theme; return fontWeight || theme.typography.p1.fontWeight; }, function (_a) { var lineHeight = _a.lineHeight, theme = _a.theme; return lineHeight || theme.typography.p1.lineHeight; }, function (_a) { var letterSpacing = _a.letterSpacing, theme = _a.theme; return letterSpacing || theme.typography.p1.letterSpacing; }, function (_a) { var textAlign = _a.textAlign, theme = _a.theme; return textAlign || theme.typography.p1.textAlign; }, function (_a) { var textTransform = _a.textTransform, theme = _a.theme; return textTransform || theme.typography.p1.textTransform; }, function (_a) { var color = _a.color, theme = _a.theme; return color || theme.colors.black; }); var templateObject_1;