Files
mycode/jsonhero-web/app/components/Icons/ShortcutIcon.tsx
2026-02-04 12:18:35 +08:00

15 lines
307 B
TypeScript

export type ShortcutIconProps = {
children: React.ReactNode;
className?: string;
};
export function ShortcutIcon({ className, children }: ShortcutIconProps) {
return (
<span
className={`flex items-center justify-center rounded ${className ?? ""}`}
>
{children}
</span>
);
}