mantine-alert-system
Version:
Alert system based on Mantine components
8 lines • 408 B
TypeScript
/// <reference types="react" />
import { AlertSwitchActions, AlertTransitionProps } from './types';
export interface UseAlertSwitchProps extends AlertTransitionProps {
switchMode?: 'in-out' | 'out-in';
}
export type UseAlertSwitch = (props?: UseAlertSwitchProps) => [React.ReactNode, AlertSwitchActions];
export declare const useAlertSwitch: UseAlertSwitch;
//# sourceMappingURL=use-alert-switch.d.ts.map