next
Version:
The React Framework
26 lines (25 loc) • 888 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
export function CollapseIcon(param) {
let { collapsed } = param === void 0 ? {} : param;
return /*#__PURE__*/ _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__*/ _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"
})
});
}
//# sourceMappingURL=collapse-icon.js.map