mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-06 05:07:36 -05:00
15 lines
325 B
TypeScript
15 lines
325 B
TypeScript
import { Trash } from "lucide-react";
|
|
import { SendouButton } from "../elements/Button";
|
|
|
|
export function RemoveFieldButton({ onClick }: { onClick: () => void }) {
|
|
return (
|
|
<SendouButton
|
|
icon={<Trash />}
|
|
aria-label="Remove form field"
|
|
size="small"
|
|
variant="minimal-destructive"
|
|
onPress={onClick}
|
|
/>
|
|
);
|
|
}
|