ant-design-vue/components/vc-table/src/Column.jsx

24 lines
489 B
React
Raw Normal View History

2018-03-24 14:02:24 +00:00
import PropTypes from '../../_util/vue-types'
export default {
name: 'Column',
props: {
colSpan: PropTypes.number,
title: PropTypes.any,
dataIndex: PropTypes.string,
width: PropTypes.oneOfType([
PropTypes.number,
PropTypes.string,
]),
fixed: PropTypes.oneOf([
true,
'left',
'right',
]),
render: PropTypes.func,
// onCellClick: PropTypes.func,
// onCell: PropTypes.func,
// onHeaderCell: PropTypes.func,
},
}