watercolor-ui
Version:
A modern minimalist cross-framework component library
21 lines • 856 B
TypeScript
import { default as React } from 'react';
export default function Snackbar({ open, message, title, severity, variant, autoHideDuration, anchorOrigin, action: actionLabel, closable, showIcon, showProgress, onClose, onAction, children, }: {
open?: boolean | undefined;
message?: string | undefined;
title?: string | undefined;
severity?: string | undefined;
variant?: string | undefined;
autoHideDuration?: number | undefined;
anchorOrigin?: {
vertical: string;
horizontal: string;
} | undefined;
action?: string | undefined;
closable?: boolean | undefined;
showIcon?: boolean | undefined;
showProgress?: boolean | undefined;
onClose?: (() => void) | undefined;
onAction?: (() => void) | undefined;
children: any;
}): React.ReactPortal | null;
//# sourceMappingURL=Snackbar.d.ts.map