ant-design-vue/components/dropdown/getDropdownProps.js

25 lines
646 B
JavaScript
Raw Normal View History

2019-01-12 03:33:27 +00:00
import PropTypes from '../_util/vue-types';
2018-01-29 10:57:20 +00: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 03:33:27 +00:00
placement: PropTypes.oneOf([
'topLeft',
'topCenter',
'topRight',
'bottomLeft',
'bottomCenter',
'bottomRight',
]),
overlayClassName: PropTypes.string,
overlayStyle: PropTypes.object,
2018-01-29 10:57:20 +00:00
forceRender: PropTypes.bool,
mouseEnterDelay: PropTypes.number,
mouseLeaveDelay: PropTypes.number,
2019-01-12 03:33:27 +00:00
});