import { forwardRef } from 'react'; import { NotificationContentProps } from '../notification'; /* eslint-disable no-restricted-imports */ import Alert from '@mui/material/Alert'; // TODO: Variants types of message content await designers const commonStyle = { background: '#fff' }; export const SuccessMessage = forwardRef< HTMLDivElement, NotificationContentProps >(({ message, id }, ref) => { return ( {message} ); }); export const ErrorMessage = forwardRef< HTMLDivElement, NotificationContentProps >(({ message, id }, ref) => { return ( {message} ); }); export const WarningMessage = forwardRef< HTMLDivElement, NotificationContentProps >(({ message, id }, ref) => { return ( {message} ); }); export const InfoMessage = forwardRef( ({ message, id }, ref) => { return ( {message} ); } );