Column.tsx 463 B

12345678910111213141516171819
  1. import React from 'react';
  2. import ColumnShape from './ColumnShape';
  3. import { ColumnProps, Data } from './interface';
  4. export default class Column<RecordType extends Record<string, any> = Data> extends React.PureComponent<ColumnProps<RecordType>> {
  5. static propTypes = {
  6. ...ColumnShape,
  7. };
  8. static elementType = 'Column';
  9. constructor(props: ColumnProps = {}) {
  10. super(props);
  11. }
  12. render(): null {
  13. return null;
  14. }
  15. }