UNPKG

mantine-alert-system

Version:
12 lines 485 B
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