@nexusui/components
Version:
These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.
15 lines (14 loc) • 463 B
TypeScript
import * as React from 'react';
import { SnackbarProps } from '@mui/material/Snackbar';
import { AlertProps } from '@mui/material/Alert';
export interface INotify {
open: boolean;
msg: string;
severity: AlertProps['severity'];
}
export interface INotificationProps extends SnackbarProps {
notify: INotify;
setNotify: (notify: INotify) => void;
t: (key: string) => string;
}
export declare const Notification: React.FC<INotificationProps>;