@redocly/theme
Version:
Shared UI components lib
22 lines (21 loc) • 1.09 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.MenuIcon = 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", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.5 3.5H14.5V4.5H1.5V3.5ZM1.5 7.5H14.5V8.5H1.5V7.5ZM1.5 11.5H14.5V12.5H1.5V11.5Z" })));
exports.MenuIcon = (0, styled_components_1.default)(Icon).attrs(() => ({
'data-component-name': 'icons/MenuIcon/MenuIcon',
})) `
path {
fill: ${({ color }) => (0, utils_1.getCssColorVariable)(color)};
}
height: ${({ size }) => size || '16px'};
width: ${({ size }) => size || '16px'};
`;
//# sourceMappingURL=MenuIcon.js.map