Add complete shadcn component set

This commit is contained in:
Rami Bitar
2026-08-31 11:41:51 -04:00
parent 3e072967e6
commit d5e44223d8
39 changed files with 3739 additions and 125 deletions
+23
View File
@@ -0,0 +1,23 @@
import React from 'react';
import { toast } from 'sonner';
import { Button } from '@/components/ui/button';
export function SonnerDemo() {
return (
<Button
variant="outline"
onClick={() =>
toast('Event has been created', {
description: 'Sunday, December 03, 2023 at 9:00 AM',
action: {
label: 'Undo',
onClick: () => console.log('Undo'),
},
})
}
>
Show Toast
</Button>
);
}