@mantine/notifications
Version:
Mantine notifications system
11 lines (10 loc) • 467 B
TypeScript
import { TransitionStatus } from 'react-transition-group';
import type { NotificationsProps } from './Notifications';
interface NotificationStateStylesProps {
state: TransitionStatus;
maxHeight: number | string;
position: NotificationsProps['position'];
transitionDuration: number;
}
export declare function getNotificationStateStyles({ state, maxHeight, position, transitionDuration, }: NotificationStateStylesProps): React.CSSProperties;
export {};