import React from 'react';
import { Button } from 'components/shared/Button';
import { useToast } from 'components/shared/Toast';
export const renderToastsWithCta = () => {
const { toast, dismiss } = useToast();
return (
{(['success', 'error', 'warning', 'info', 'loading'] as const).map(
(variant, index) => (
),
)}
);
};
export const renderToast = () => {
const { toast, dismiss } = useToast();
return (
{(['success', 'error', 'warning', 'info', 'loading'] as const).map(
(variant, index) => (
),
)}
);
};