Files
react-test/docs/data/material/getting-started/templates/crud-dashboard/hooks/useNotifications/NotificationsContext.tsx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
267 B
TypeScript
Raw Normal View History

2025-12-12 14:26:25 +09:00
import * as React from 'react';
import { ShowNotification, CloseNotification } from './useNotifications';
const NotificationsContext = React.createContext<{
show: ShowNotification;
close: CloseNotification;
} | null>(null);
export default NotificationsContext;