mantine-alert-system
Version:
Alert system based on Mantine components
9 lines • 514 B
TypeScript
/// <reference types="react" />
import { UseAlertStackStateProps } from './use-alert-stack-state';
import { AlertStackActions, AlertSpacing, AlertTransitionProps } from './types';
export interface UseAlertStackProps extends UseAlertStackStateProps, AlertTransitionProps {
spacing?: AlertSpacing;
}
export type UseAlertStack = (props?: UseAlertStackProps) => [content: React.ReactNode, actions: AlertStackActions];
export declare const useAlertStack: UseAlertStack;
//# sourceMappingURL=use-alert-stack.d.ts.map