ar-test/app/components/ui/add-button.tsx

13 lines
372 B
TypeScript

import { Plus } from 'lucide-react';
import { Button, type ButtonProps } from '~/components/ui/button';
// Primary "+ New …" action
export function AddButton({ label, ...props }: Omit<ButtonProps, 'children'> & { label: string }) {
return (
<Button {...props}>
<Plus size={14} strokeWidth={2.4} />
{label}
</Button>
);
}