import { FC } from 'react'; import './style'; interface IProps { /** * @description Modal's title text */ content: string; /** * @description Modal's content text */ shouldConfirm: boolean; /** * @description Open the prompt message when you need to leave the route. */ title?: string; /** * @description Modal footer ok button text */ okText?: string; /** * @description Modal footer cancel button text */ cancelText?: string; /** * @description When the tab page and browser are closed, the system-level prompt box will be displayed. */ showSystemExitTip?: boolean; /** * @description Callback of changing shouldConfirm value inside the component */ setShouldConfirm: (shouldConfirm: boolean) => void; } declare const LeaveConfirm: FC; export default LeaveConfirm;