import React, { FC } from 'react'; /** * Link properties */ export interface SnackbarPropsStrict { /** Name of the action shown to users */ actionName?: string; /** Adds one or more classnames for an element */ className?: string; children?: React.ReactNode; /** * How long the Snackbar stays on screen. * Default is 5000. */ duration?: number; /** Fired when the user clicks on the action */ onActionClick?: (e: React.SyntheticEvent) => void; /** Fired when the user clicks the close icon */ onClose?: (e?: React.SyntheticEvent) => void; /** * Makes Snackbar open through ReactDOM.createPortal * Default is true. */ portal?: boolean; /** The message displayed to the user */ title: string; } export interface SnackbarProps extends SnackbarPropsStrict { [propName: string]: any; } export declare const Snackbar: FC;