feat: add primary new item button

This commit is contained in:
rajun 2026-10-27 16:28:57 +05:30
parent 89e7018920
commit 9a1f261850

View File

@ -0,0 +1,12 @@
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>
);
}