UNPKG

@react-pakistan/react-ui-collection

Version:

React UI Collection built upon React Storybook

29 lines (28 loc) 1.32 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.ColorPalette = void 0; var styled_components_1 = __importDefault(require("styled-components")); exports.ColorPalette = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: ", ";\n height: ", ";\n margin: ", ";\n width: ", ";\n"], ["\n background-color: ", ";\n border-radius: ", ";\n height: ", ";\n margin: ", ";\n width: ", ";\n"])), function (_a) { var paletteColor = _a.paletteColor; return paletteColor; }, function (_a) { var borderRadius = _a.borderRadius; return borderRadius || '50%'; }, function (_a) { var height = _a.height; return height || '20px'; }, function (_a) { var margin = _a.margin; return margin || '0px 10px 0px 0px'; }, function (_a) { var width = _a.width; return width || '20px'; }); var templateObject_1;