import { Alert, Snackbar, type AlertColor } from '@mui/material'; import React, { type PropsWithChildren } from 'react'; export interface ToastProps extends PropsWithChildren { color: AlertColor | undefined; open: boolean; onClose: () => void; } export const Toast = ({ color, open, onClose, children }: ToastProps) => { return ( {children} ); };