@redocly/theme
Version:
Shared UI components lib
23 lines (22 loc) • 1.43 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentHtmlIcon = 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: "iconHTML" },
react_1.default.createElement("path", { id: "Vector", d: "M8.00005 11.7067L10.7134 10.9533L11.08 6.88667H6.25338L6.13338 5.53333H11.2L11.3334 4.20667H4.66671L5.04005 8.21333H9.63338L9.48005 9.93333L8.00005 10.3333L6.52005 9.93333L6.42671 8.82667H5.09338L5.28671 10.9533L8.00005 11.7067ZM2.71338 2H13.2867L12.3334 12.8L8.00005 14L3.66671 12.8L2.71338 2Z", fill: "#3B3C45" }))));
exports.DocumentHtmlIcon = (0, styled_components_1.default)(Icon).attrs(() => ({
'data-component-name': 'icons/DocumentHtmlIcon/DocumentHtmlIcon',
})) `
path {
fill: ${({ color }) => (0, utils_1.getCssColorVariable)(color)};
}
height: ${({ size }) => size || '16px'};
width: ${({ size }) => size || '16px'};
`;
//# sourceMappingURL=DocumentHtmlIcon.js.map