/// import { SnackbarProps as MuiSnackbarProps } from "@mui/material/Snackbar"; import { AlertProps } from "./Alert"; export interface SnackbarProps extends Omit { /** * Props for `Alert` element. */ alertProps?: Omit; /** * Element positioned at the end of the component. * If `close`, default close `IconButton` will be populated. * If `ReactNode`, it's a custom element. * * Either option, triggering the action element * executes `handleClose` callback to close the component. */ action?: "close" | JSX.Element; /** * Children element inside of `Alert` element. */ children: AlertProps["children"]; } declare const Snackbar: React.FC; export default Snackbar;