UNPKG

@redocly/theme

Version:

Shared UI components lib

25 lines (24 loc) 1.34 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.DescSortIcon = 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: "M9 11L9.707 10.293L11.5 12.086V2H12.5V12.086L14.293 10.293L15 11L12 14L9 11Z", fill: "#22242B" }), react_1.default.createElement("path", { d: "M8 3H1V4H8V3Z", fill: "#22242B" }), react_1.default.createElement("path", { d: "M8 6H3V7H8V6Z", fill: "#22242B" }), react_1.default.createElement("path", { d: "M8 9H5V10H8V9Z", fill: "#22242B" }))); exports.DescSortIcon = (0, styled_components_1.default)(Icon).attrs(() => ({ 'data-component-name': 'icons/DescSortIcon/DescSortIcon', })) ` path { fill: ${({ color }) => (0, utils_1.getCssColorVariable)(color)}; } height: ${({ size }) => size || '16px'}; width: ${({ size }) => size || '16px'}; `; //# sourceMappingURL=DescSortIcon.js.map