ant-design-vue/components/dropdown/getDropdownProps.js
2018-01-29 18:57:20 +08:00

14 lines
469 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']),
forceRender: PropTypes.bool,
})