Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
38 lines
886 B
Plaintext
38 lines
886 B
Plaintext
"use client";
|
|
|
|
// src/menu-selected-icon.tsx
|
|
import { jsx } from "react/jsx-runtime";
|
|
function MenuSelectedIcon(props) {
|
|
const { isSelected, disableAnimation, ...otherProps } = props;
|
|
return /* @__PURE__ */ jsx(
|
|
"svg",
|
|
{
|
|
"aria-hidden": "true",
|
|
"data-selected": isSelected,
|
|
role: "presentation",
|
|
viewBox: "0 0 17 18",
|
|
...otherProps,
|
|
children: /* @__PURE__ */ jsx(
|
|
"polyline",
|
|
{
|
|
fill: "none",
|
|
points: "1 9 7 14 15 4",
|
|
stroke: "currentColor",
|
|
strokeDasharray: 22,
|
|
strokeDashoffset: isSelected ? 44 : 66,
|
|
strokeLinecap: "round",
|
|
strokeLinejoin: "round",
|
|
strokeWidth: 1.5,
|
|
style: !disableAnimation ? {
|
|
transition: "stroke-dashoffset 200ms ease"
|
|
} : {}
|
|
}
|
|
)
|
|
}
|
|
);
|
|
}
|
|
|
|
export {
|
|
MenuSelectedIcon
|
|
};
|