import React, { PropsWithChildren } from "react"; export declare type ModalFooterProps = { /** * 点击默认取消按钮的 回调 */ onCancel?: (event?: MouseEvent) => void; /** * 是否展示 默认取消按钮 */ showCancel?: boolean; /** * 是否展示 默认确认按钮 */ showOk?: boolean; /** * 确认按钮文字 */ okText?: React.ReactNode; /** * 点击确定回调 */ onOk?: () => void; /** * 取消按钮文字 */ cancelText?: React.ReactNode; }; declare const ModalFooter: { ({ onCancel, showCancel, cancelText, onOk, showOk, okText, children, }: PropsWithChildren): JSX.Element; defaultProps: { showOk: boolean; showCancel: boolean; }; }; export default ModalFooter;