import type { ButtonProps, ButtonReferenceType } from '../../Button/Button.types'; import type { SnackbarProps } from './Snackbar'; /** Semantic auto-dismiss durations. `indefinite` disables the timer. */ export type SnackbarDuration = 'default' | 'extended' | 'indefinite'; /** One optional action. Supports callbacks and navigation through the Button API. */ export type SnackbarAction = Pick & { label: ButtonProps['children']; onClick?: React.MouseEventHandler; }; /** Props accepted by `createSnackbar` from `useSnackbar()`. */ export type SnackbarCreationProps = Omit; //# sourceMappingURL=Snackbar.types.d.ts.map