mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-03 05:43:22 +00:00
23 lines
393 B
TypeScript
23 lines
393 B
TypeScript
|
|
import { X } from "lucide-react";
|
||
|
|
|
||
|
|
export function CompletionTemplateRemoveButton({
|
||
|
|
label,
|
||
|
|
onClick,
|
||
|
|
}: {
|
||
|
|
label: string;
|
||
|
|
onClick: () => void;
|
||
|
|
}) {
|
||
|
|
return (
|
||
|
|
<button
|
||
|
|
type="button"
|
||
|
|
onClick={onClick}
|
||
|
|
title={label}
|
||
|
|
aria-label={label}
|
||
|
|
className="shrink-0"
|
||
|
|
style={{ color: "var(--color-text-muted)" }}
|
||
|
|
>
|
||
|
|
<X size={14} />
|
||
|
|
</button>
|
||
|
|
);
|
||
|
|
}
|