60 lines
1.0 KiB
JavaScript
60 lines
1.0 KiB
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
export const innerProps = {
|
|
visible: Boolean,
|
|
prefixCls: String,
|
|
zIndex: Number,
|
|
destroyPopupOnHide: Boolean,
|
|
forceRender: Boolean,
|
|
arrow: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
// Legacy Motion
|
|
animation: [String, Object],
|
|
transitionName: String,
|
|
// Measure
|
|
stretch: {
|
|
type: String
|
|
},
|
|
// Align
|
|
align: {
|
|
type: Object
|
|
},
|
|
point: {
|
|
type: Object
|
|
},
|
|
getRootDomNode: {
|
|
type: Function
|
|
},
|
|
getClassNameFromAlign: {
|
|
type: Function
|
|
},
|
|
onAlign: {
|
|
type: Function
|
|
},
|
|
onMouseenter: {
|
|
type: Function
|
|
},
|
|
onMouseleave: {
|
|
type: Function
|
|
},
|
|
onMousedown: {
|
|
type: Function
|
|
},
|
|
onTouchstart: {
|
|
type: Function
|
|
}
|
|
};
|
|
export const mobileProps = _extends(_extends({}, innerProps), {
|
|
mobile: {
|
|
type: Object
|
|
}
|
|
});
|
|
export const popupProps = _extends(_extends({}, innerProps), {
|
|
mask: Boolean,
|
|
mobile: {
|
|
type: Object
|
|
},
|
|
maskAnimation: String,
|
|
maskTransitionName: String
|
|
}); |