UNPKG

@smart-react-components/ui

Version:
21 lines (20 loc) 709 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const Div_1 = __importDefault(require("@smart-react-components/core/Element/Div")); const styled_components_1 = __importDefault(require("styled-components")); exports.default = (0, styled_components_1.default)(Div_1.default).attrs(({ hasSpace }) => ({ getBadgeListSize: (v, t) => ` ${hasSpace ? ` margin -${t.$.size.badge[v].margin.y} -${t.$.size.badge[v].margin.x}; ` : ''} `, })) ` align-items: center; display: inline-flex; flex-wrap: wrap; `;