UNPKG

next

Version:

The React Framework

42 lines (40 loc) 1.45 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "CollapseIcon", { enumerable: true, get: function() { return CollapseIcon; } }); const _jsxruntime = require("react/jsx-runtime"); function CollapseIcon(param) { let { collapsed } = param === void 0 ? {} : param; return /*#__PURE__*/ (0, _jsxruntime.jsx)("svg", { "data-nextjs-call-stack-chevron-icon": true, "data-collapsed": collapsed, width: "16", height: "16", fill: "none", ...typeof collapsed === 'boolean' ? { style: { transform: collapsed ? undefined : 'rotate(90deg)' } } : {}, children: /*#__PURE__*/ (0, _jsxruntime.jsx)("path", { style: { fill: 'var(--color-font)' }, fillRule: "evenodd", d: "m6.75 3.94.53.53 2.824 2.823a1 1 0 0 1 0 1.414L7.28 11.53l-.53.53L5.69 11l.53-.53L8.69 8 6.22 5.53 5.69 5l1.06-1.06Z", clipRule: "evenodd" }) }); } if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') { Object.defineProperty(exports.default, '__esModule', { value: true }); Object.assign(exports.default, exports); module.exports = exports.default; } //# sourceMappingURL=collapse-icon.js.map