UNPKG

@yuntijs/ui

Version:

☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps

20 lines (19 loc) 851 B
import { type ModalFuncProps as AntdModalFuncProps, type ModalProps as AntdModalProps } from 'antd'; import React from 'react'; export type ModalFuncProps = AntdModalFuncProps; interface CustomModalProps { /** * @description Whether support border-bottom of header and border-top of footer. * @default 'true' */ borderd?: boolean; } export interface ModalProps extends AntdModalProps, CustomModalProps { } export declare const Modal: React.FC<AntdModalProps> & import("antd/es/modal/confirm").ModalStaticFunctions & { useModal: typeof import("antd/es/modal/useModal").default; destroyAll: () => void; config: typeof import("antd/es/modal/confirm").modalGlobalConfig; _InternalPanelDoNotUseOrYouWillBeFired: (props: import("antd/es/modal/PurePanel").PurePanelProps) => React.JSX.Element; }; export default Modal;