added Callback and custon notification Toast, client notification event handler
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { cn } from "helpers/cn";
|
||||
|
||||
export const BaseNotification = ({
|
||||
children,
|
||||
className,
|
||||
icon,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
icon?: React.ReactNode;
|
||||
}) => {
|
||||
return (
|
||||
<div className={cn("alert alert-vertical flex flex-row gap-4")}>
|
||||
{icon}
|
||||
|
||||
<div className={className}>{children}</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user