UNPKG

@navinc/base-react-components

Version:
18 lines (17 loc) 618 B
export default BannerToast; declare function BannerToast({ onDismiss, shouldNotTimeout, type, time, shouldShowTimedBar, ...props }: { [x: string]: any; onDismiss: any; shouldNotTimeout: any; type?: string | undefined; time?: number | undefined; shouldShowTimedBar?: boolean | undefined; }): JSX.Element; declare namespace BannerToast { namespace propTypes { const onDismiss: PropTypes.Requireable<(...args: any[]) => any>; const shouldNotTimeout: PropTypes.Requireable<boolean>; const time: PropTypes.Requireable<number>; } } import PropTypes from "prop-types";