import React from 'react'; import { Button, Stack } from '@mui/material'; import { useNotifications } from '../contexts/NotificationContext'; const TestNotification: React.FC = () => { const { addNotification, addBatchNotification } = useNotifications(); const handleTestSingle = () => { addNotification({ type: 'success', title: 'Test Success', message: 'This is a test notification!', }); }; const handleTestError = () => { addNotification({ type: 'error', title: 'Test Error', message: 'This is a test error notification!', }); }; const handleTestBatch = () => { addBatchNotification('success', 'upload', [ { name: 'document1.pdf', success: true }, { name: 'document2.pdf', success: true }, { name: 'document3.pdf', success: true }, ]); }; const handleTestMixedBatch = () => { addBatchNotification('warning', 'upload', [ { name: 'document1.pdf', success: true }, { name: 'document2.pdf', success: false }, { name: 'document3.pdf', success: true }, ]); }; return ( ); }; export default TestNotification;