UNPKG

@redocly/theme

Version:

Shared UI components lib

22 lines (21 loc) 1.25 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.WarningFilledIcon = 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({ viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), react_1.default.createElement("path", { d: "M8 1C4.15 1 1 4.15 1 8C1 11.85 4.15 15 8 15C11.85 15 15 11.85 15 8C15 4.15 11.85 1 8 1ZM7.45 4H8.55V9.5H7.45V4ZM8 12.5C7.6 12.5 7.25 12.15 7.25 11.75C7.25 11.35 7.6 11 8 11C8.4 11 8.75 11.35 8.75 11.75C8.75 12.15 8.4 12.5 8 12.5Z" }))); exports.WarningFilledIcon = (0, styled_components_1.default)(Icon).attrs(() => ({ 'data-component-name': 'icons/WarningFilledIcon/WarningFilledIcon', })) ` path { fill: ${({ color }) => (0, utils_1.getCssColorVariable)(color)}; } height: ${({ size }) => size || '16px'}; width: ${({ size }) => size || '16px'}; `; //# sourceMappingURL=WarningFilledIcon.js.map