UNPKG

@gpa-gemstone/react-interactive

Version:
27 lines (26 loc) 619 B
import * as React from 'react'; interface IProps { /** * Title of the warning */ Title: string; /** * Callback function used when warning is closed * @param confirmed Cancel Button(false) or Confirm Button(true) */ CallBack: ((confirmed: boolean) => void); /** * Flag to show the warning */ Show: boolean; /** * Message shown in the body of the warning */ Message: string; /** * Optional flag to show a cancel button */ ShowCancel?: boolean; } declare const Warning: React.FunctionComponent<IProps>; export default Warning;