Repository URL to install this package:
|
Version:
2.7.3 ▾
|
import { ReactNode } from 'react';
import { CommonState } from 'src/state/common';
export declare type SnackBarState = CommonState;
export interface SnackBarRenderProp {
(props: SnackBarProps, state?: SnackBarState): ReactNode;
}
export interface SnackBarProps {
label?: string;
position?: string;
children?: ReactNode;
className?: string;
isVisible?: boolean;
state?: SnackBarState;
renderWrap?: SnackBarRenderProp;
renderMessage?: SnackBarRenderProp;
renderActionButtonGroup?: SnackBarRenderProp;
}