File tree Expand file tree Collapse file tree 3 files changed +1
-10
lines changed
Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import PropTypes from 'prop-types' ;
32import { Resizable } from 'react-resizable' ;
43import Table from '../src' ;
54import '../assets/index.less' ;
@@ -20,11 +19,6 @@ const ResizableTitle = props => {
2019 ) ;
2120} ;
2221
23- ResizableTitle . propTypes = {
24- onResize : PropTypes . func . isRequired ,
25- width : PropTypes . number ,
26- } ;
27-
2822interface RecordType {
2923 a : string ;
3024 b ?: string ;
Original file line number Diff line number Diff line change 5151 },
5252 "dependencies" : {
5353 "classnames" : " ^2.2.5" ,
54- "component-classes" : " ^1.2.6" ,
55- "lodash" : " ^4.17.5" ,
56- "prop-types" : " ^15.5.8" ,
5754 "raf" : " ^3.4.1" ,
5855 "rc-resize-observer" : " ^0.2.0" ,
5956 "rc-util" : " ^4.20.1" ,
60- "react-lifecycles-compat" : " ^3.0.2" ,
6157 "shallowequal" : " ^1.1.0"
6258 },
6359 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ interface MemoTableContentProps {
8282 pingRight : boolean ;
8383 props : any ;
8484}
85+
8586const MemoTableContent = React . memo < MemoTableContentProps > (
8687 ( { children } ) => children as React . ReactElement ,
8788
You can’t perform that action at this time.
0 commit comments