import React from 'react'; import { ControlledAlertProps } from '../utils/ControlledAlert'; export interface SnackbarProps extends Omit { /** The number of milliseconds that this snackbar will show until it automatically disappears * @default 6000 * */ duration?: number; /** * @ignore * A function to call in order for the snackbar to remove itself. Should be provided through * the `SnackbarManager` component * */ destroy: () => void; } /** * A Snackbar is a special version of Alert that gets shown as a response to a user's action in * order to provide feedback about the outcome of his action */ declare const Snackbar: React.FC; export default Snackbar;