amis-rpc-design/node_modules/antd/es/modal/context.d.ts
2023-10-07 19:42:30 +08:00

9 lines
575 B
TypeScript

import React from 'react';
import type { ConfirmCancelBtnProps } from './components/ConfirmCancelBtn';
import type { ConfirmOkBtnProps } from './components/ConfirmOkBtn';
import type { NormalCancelBtnProps } from './components/NormalCancelBtn';
import type { NormalOkBtnProps } from './components/NormalOkBtn';
export type ModalContextProps = NormalCancelBtnProps & NormalOkBtnProps & ConfirmOkBtnProps & ConfirmCancelBtnProps;
export declare const ModalContext: React.Context<ModalContextProps>;
export declare const ModalContextProvider: React.Provider<ModalContextProps>;