UNPKG

@react-pakistan/react-ui-collection

Version:

React UI Collection built upon React Storybook

33 lines (32 loc) 2.26 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.PageNumber = exports.PaginatorContainer = void 0; var styled_components_1 = __importDefault(require("styled-components")); exports.PaginatorContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n width: 100%;\n"], ["\n align-items: center;\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n width: 100%;\n"]))); exports.PageNumber = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-flow: row no-wrap;\n justify-content: center;\n align-items: center;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n background-color: ", ";\n\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n"], ["\n display: flex;\n flex-flow: row no-wrap;\n justify-content: center;\n align-items: center;\n width: ", ";\n height: ", ";\n border-radius: ", ";\n background-color: ", ";\n\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n"])), function (_a) { var width = _a.width; return width || '50px'; }, function (_a) { var height = _a.height; return height || '50px'; }, function (_a) { var borderRadius = _a.borderRadius; return borderRadius || '50%'; }, function (_a) { var backgroundColor = _a.backgroundColor, theme = _a.theme; return backgroundColor || theme.colors.white; }, function (_a) { var backgroundColorHover = _a.backgroundColorHover, theme = _a.theme; return backgroundColorHover || theme.colors.cherryRed; }, function (_a) { var colorHover = _a.colorHover, theme = _a.theme; return colorHover || theme.colors.white; }); var templateObject_1, templateObject_2;