UNPKG

@redocly/theme

Version:

Shared UI components lib

23 lines (22 loc) 1.38 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.DocumentMarkdownIcon = 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: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), react_1.default.createElement("g", { id: "iconMarkdown" }, react_1.default.createElement("path", { id: "Vector", d: "M1.5 10.5003V5.16699H2.83333L4.83333 7.16699L6.83333 5.16699H8.16667V10.5003H6.83333V7.05366L4.83333 9.05366L2.83333 7.05366V10.5003H1.5ZM10.8333 5.16699H12.8333V7.83366H14.5L11.8333 10.8337L9.16667 7.83366H10.8333V5.16699Z", fill: "#3B3C45" })))); exports.DocumentMarkdownIcon = (0, styled_components_1.default)(Icon).attrs(() => ({ 'data-component-name': 'icons/DocumentMarkdownIcon/DocumentMarkdownIcon', })) ` path { fill: ${({ color }) => (0, utils_1.getCssColorVariable)(color)}; } height: ${({ size }) => size || '16px'}; width: ${({ size }) => size || '16px'}; `; //# sourceMappingURL=DocumentMarkdownIcon.js.map