You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
7 years ago
|
import PropTypes from '../_util/vue-types'
|
||
|
|
||
|
function IDialogPropTypes () {
|
||
|
return {
|
||
|
keyboard: PropTypes.bool,
|
||
|
mask: PropTypes.bool,
|
||
|
afterClose: PropTypes.func,
|
||
|
// onClose: PropTypes. (e: SyntheticEvent<HTMLDivElement>) =>any,
|
||
|
closable: PropTypes.bool,
|
||
|
maskClosable: PropTypes.bool,
|
||
|
visible: PropTypes.bool,
|
||
|
destroyOnClose: PropTypes.bool,
|
||
|
mousePosition: PropTypes.shape({
|
||
|
x: PropTypes.number,
|
||
|
y: PropTypes.number,
|
||
|
}).loose,
|
||
|
title: PropTypes.any,
|
||
|
footer: PropTypes.any,
|
||
|
transitionName: PropTypes.string,
|
||
|
maskTransitionName: PropTypes.string,
|
||
|
animation: PropTypes.any,
|
||
|
maskAnimation: PropTypes.any,
|
||
|
wrapStyle: PropTypes.object,
|
||
|
bodyStyle: PropTypes.object,
|
||
|
maskStyle: PropTypes.object,
|
||
|
prefixCls: PropTypes.string,
|
||
|
wrapClassName: PropTypes.string,
|
||
|
width: PropTypes.number,
|
||
|
height: PropTypes.number,
|
||
|
zIndex: PropTypes.number,
|
||
|
bodyProps: PropTypes.any,
|
||
|
maskProps: PropTypes.any,
|
||
|
wrapProps: PropTypes.any,
|
||
|
getContainer: PropTypes.func,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default IDialogPropTypes
|