Browse Source

🔨 react-lifecycles-compat for Table

pull/19080/head
afc163 5 years ago
committed by 偏右
parent
commit
3acbc941a6
  1. 3
      components/table/Table.tsx

3
components/table/Table.tsx

@ -5,6 +5,7 @@ import RcTable, { INTERNAL_COL_DEFINE } from 'rc-table';
import * as PropTypes from 'prop-types'; import * as PropTypes from 'prop-types';
import classNames from 'classnames'; import classNames from 'classnames';
import shallowEqual from 'shallowequal'; import shallowEqual from 'shallowequal';
import { polyfill } from 'react-lifecycles-compat';
import FilterDropdown from './filterDropdown'; import FilterDropdown from './filterDropdown';
import createStore, { Store } from './createStore'; import createStore, { Store } from './createStore';
import SelectionBox from './SelectionBox'; import SelectionBox from './SelectionBox';
@ -1404,4 +1405,6 @@ function withStore(
return Component; return Component;
} }
polyfill(Table);
export default withStore(Table); export default withStore(Table);

Loading…
Cancel
Save