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