ant-design-vue/components/dropdown/getDropdownProps.js
wapznw 60a7927b0c dropdown添加minOverlayWidthMatchTrigger属性 (#954)
* Update getDropdownProps.js

dropdown组件增加minOverlayWidthMatchTrigger属性

* dropdown组件增加minOverlayWidthMatchTrigger属性
2019-07-16 15:39:53 +08:00

26 lines
693 B
JavaScript

import PropTypes from '../_util/vue-types';
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,
placement: PropTypes.oneOf([
'topLeft',
'topCenter',
'topRight',
'bottomLeft',
'bottomCenter',
'bottomRight',
]),
overlayClassName: PropTypes.string,
overlayStyle: PropTypes.object,
forceRender: PropTypes.bool,
mouseEnterDelay: PropTypes.number,
mouseLeaveDelay: PropTypes.number,
minOverlayWidthMatchTrigger: PropTypes.bool,
});