UNPKG

@redocly/theme

Version:

Shared UI components lib

20 lines 1.35 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.AnthropicIcon = 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("g", { transform: "translate(2.15065 3.876255)" }, react_1.default.createElement("path", { d: "M8.43781 0.000244141H6.64874L9.90967 8.24774H11.6987L8.43781 0.000244141ZM3.26092 0.000244141L-7.62939e-06 8.24774H1.82713L2.49962 6.52211H5.91281L6.57261 8.24774H8.39975L5.13881 0.000244141H3.26092ZM3.08329 4.9868L4.19987 2.09384L5.31645 4.9868H3.08329Z", fill: "currentColor" })))); exports.AnthropicIcon = (0, styled_components_1.default)(Icon).attrs(() => ({ 'data-component-name': 'icons/AnthropicIcon/AnthropicIcon', })) ` color: ${({ color }) => (0, utils_1.getCssColorVariable)(color)}; height: ${({ size }) => size || '16px'}; width: ${({ size }) => size || '16px'}; `; //# sourceMappingURL=AnthropicIcon.js.map