@clarabridge/unified-react-components
Version:
Collection of Engage reusable components
10 lines (9 loc) • 326 B
TypeScript
import { PropsWithChildren, ReactElement } from 'react';
export type Props = {
mode: 'confirmation' | 'error' | 'info' | 'success' | 'warning';
dismissible?: boolean;
onDismiss?: () => void;
className?: string;
};
declare const Notice: (props: PropsWithChildren<Props>) => ReactElement;
export default Notice;