@redocly/theme
Version:
Shared UI components lib
23 lines (22 loc) • 1.23 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PlusCustomIcon = void 0;
const react_1 = __importDefault(require("react"));
const styled_components_1 = __importDefault(require("styled-components"));
const utils_1 = require("../../core/utils");
const Icon = (props) => (react_1.default.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
react_1.default.createElement("rect", { x: "2.5", y: "2.5", width: "19", height: "19", rx: "9.5", stroke: "#DCDDE5" }),
react_1.default.createElement("path", { d: "M12.5 11.5V8H11.5V11.5H8V12.5H11.5V16H12.5V12.5H16V11.5H12.5Z", fill: "#3B3C45" })));
exports.PlusCustomIcon = (0, styled_components_1.default)(Icon).attrs(() => ({
'data-component-name': 'icons/PlusCustomIcon/PlusCustomIcon',
})) `
path {
fill: ${({ color }) => (0, utils_1.getCssColorVariable)(color)};
}
height: ${({ size }) => size || '16px'};
width: ${({ size }) => size || '16px'};
`;
//# sourceMappingURL=PlusCustomIcon.js.map