Browse Source

Modal: Add the update function type definition

pull/12384/head
Adam Burgess 6 years ago
committed by 偏右
parent
commit
9b01ec1ed2
  1. 1
      components/modal/Modal.tsx

1
components/modal/Modal.tsx

@ -84,6 +84,7 @@ export interface ModalFuncProps {
export type ModalFunc = (props: ModalFuncProps) => {
destroy: () => void,
update: (newConfig: ModalFuncProps) => void,
};
export interface ModalLocale {

Loading…
Cancel
Save