mantine-alert-system
Version:
Alert system based on Mantine components
12 lines • 485 B
TypeScript
import { AlertStackActions, AlertData } from './types';
export interface AlertStackStateValue {
state: AlertData[];
queue: AlertData[];
}
export interface UseAlertStackStateProps {
limit?: number;
initialValues?: AlertData[];
}
export type UseAlertStackState = (props?: UseAlertStackStateProps) => [value: AlertStackStateValue, actions: AlertStackActions];
export declare const useAlertStackState: UseAlertStackState;
//# sourceMappingURL=use-alert-stack-state.d.ts.map