bee-table7/src/Column.js

29 lines
537 B
JavaScript

import { Component } from 'react';
import PropTypes from 'prop-types';
const propTypes = {
className: PropTypes.string,
colSpan: PropTypes.number,
title: PropTypes.node,
dataIndex: PropTypes.string,
width: PropTypes.oneOfType([
PropTypes.number,
PropTypes.string,
]),
fixed: PropTypes.oneOf([
true,
'left',
'right',
]),
render: PropTypes.func,
onCellClick: PropTypes.func
}
class Column extends Component {
}
Column.propTypes = propTypes;
export default Column;