Files
var-monorepo/apps/dispatch/app/_components/customToasts/BaseNotification.tsx
2025-06-26 20:40:23 -07:00

20 lines
350 B
TypeScript

import { cn } from "@repo/shared-components";
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>
);
};