@szum-tech/design-system
Version:
Szum-Tech design system with tailwindcss support
1 lines • 664 B
JavaScript
import {a}from'./chunk-RLQVCUZA.js';import {OctagonXIcon,TriangleAlertIcon,InfoIcon,CircleCheckIcon}from'lucide-react';import {Toaster}from'sonner';export{toast as a}from'sonner';import {jsx}from'react/jsx-runtime';var f=({theme:r="system",...s})=>jsx(Toaster,{className:"group",icons:{success:jsx(CircleCheckIcon,{className:"size-4"}),info:jsx(InfoIcon,{className:"size-4"}),warning:jsx(TriangleAlertIcon,{className:"size-4"}),error:jsx(OctagonXIcon,{className:"size-4"}),loading:jsx(a,{})},toastOptions:{classNames:{toast:"!bg-popover !text-popover-foreground !border !border-border !rounded",description:"!text-muted-foreground"}},theme:r,...s});export{f as b};