easy-antd-modal
Version:
二次开发, 简化 Ant Design Modal 的使用方式
8 lines (7 loc) • 361 B
TypeScript
import { type PopupProps as AntdMPopupProps } from 'antd-mobile';
import { type UseModalEnhancedProps } from '../hooks';
export type PopupProps = Omit<AntdMPopupProps, 'onClick'> & UseModalEnhancedProps & {
popupClick?: AntdMPopupProps['onClick'];
};
declare function Popup(props: PopupProps): import("react/jsx-runtime").JSX.Element;
export default Popup;