Skip to main content
Version: Next

NotificationSnackbarProperties

Home > @backstage/plugin-notifications > NotificationSnackbarProperties

Signature:

export type NotificationSnackbarProperties = {
enabled?: boolean;
autoHideDuration?: number | null;
anchorOrigin?: {
vertical: 'top' | 'bottom';
horizontal: 'left' | 'center' | 'right';
};
dense?: boolean;
maxSnack?: number;
snackStyle?: React.CSSProperties;
iconVariant?: Partial<Record<NotificationSeverity, React.ReactNode>>;
Components?: {
[key in NotificationSeverity]: React.JSXElementConstructor<any>;
};
};

References: NotificationSeverity