Add complete shadcn component set

This commit is contained in:
Rami Bitar
2026-08-31 11:41:51 -04:00
parent 4023d124d2
commit b7949decc7
39 changed files with 5315 additions and 21 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>
);
}