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

25 lines
529 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',
]),
2018-04-01 04:52:27 +00:00
customRender: PropTypes.func,
2018-03-31 09:46:35 +00:00
className: PropTypes.string,
2018-03-24 14:02:24 +00:00
// onCellClick: PropTypes.func,
// onCell: PropTypes.func,
2018-03-31 09:46:35 +00:00
customHeaderCell: PropTypes.func,
2018-03-24 14:02:24 +00:00
},
}