2019-01-12 11:33:27 +08:00
|
|
|
import PropTypes from '../_util/vue-types';
|
2018-01-29 18:57:20 +08:00
|
|
|
export default () => ({
|
|
|
|
trigger: PropTypes.array.def(['hover']),
|
|
|
|
overlay: PropTypes.any,
|
|
|
|
visible: PropTypes.bool,
|
|
|
|
disabled: PropTypes.bool,
|
|
|
|
align: PropTypes.object,
|
|
|
|
getPopupContainer: PropTypes.func,
|
|
|
|
prefixCls: PropTypes.string,
|
|
|
|
transitionName: PropTypes.string,
|
2019-01-12 11:33:27 +08:00
|
|
|
placement: PropTypes.oneOf([
|
|
|
|
'topLeft',
|
|
|
|
'topCenter',
|
|
|
|
'topRight',
|
|
|
|
'bottomLeft',
|
|
|
|
'bottomCenter',
|
|
|
|
'bottomRight',
|
|
|
|
]),
|
2019-01-02 20:33:06 +08:00
|
|
|
overlayClassName: PropTypes.string,
|
|
|
|
overlayStyle: PropTypes.object,
|
2018-01-29 18:57:20 +08:00
|
|
|
forceRender: PropTypes.bool,
|
2019-01-02 20:33:06 +08:00
|
|
|
mouseEnterDelay: PropTypes.number,
|
|
|
|
mouseLeaveDelay: PropTypes.number,
|
2019-04-10 10:09:00 +08:00
|
|
|
openClassName: PropTypes.string,
|
2019-07-16 15:39:53 +08:00
|
|
|
minOverlayWidthMatchTrigger: PropTypes.bool,
|
2019-01-12 11:33:27 +08:00
|
|
|
});
|