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 1
1
import React from 'react' ;
2
- import PropTypes from 'prop-types' ;
3
2
import { Resizable } from 'react-resizable' ;
4
3
import Table from '../src' ;
5
4
import '../assets/index.less' ;
@@ -20,11 +19,6 @@ const ResizableTitle = props => {
20
19
) ;
21
20
} ;
22
21
23
- ResizableTitle . propTypes = {
24
- onResize : PropTypes . func . isRequired ,
25
- width : PropTypes . number ,
26
- } ;
27
-
28
22
interface RecordType {
29
23
a : string ;
30
24
b ?: string ;
Original file line number Diff line number Diff line change 51
51
},
52
52
"dependencies" : {
53
53
"classnames" : " ^2.2.5" ,
54
- "component-classes" : " ^1.2.6" ,
55
- "lodash" : " ^4.17.5" ,
56
- "prop-types" : " ^15.5.8" ,
57
54
"raf" : " ^3.4.1" ,
58
55
"rc-resize-observer" : " ^0.2.0" ,
59
56
"rc-util" : " ^4.20.1" ,
60
- "react-lifecycles-compat" : " ^3.0.2" ,
61
57
"shallowequal" : " ^1.1.0"
62
58
},
63
59
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ interface MemoTableContentProps {
82
82
pingRight : boolean ;
83
83
props : any ;
84
84
}
85
+
85
86
const MemoTableContent = React . memo < MemoTableContentProps > (
86
87
( { children } ) => children as React . ReactElement ,
87
88
You can’t perform that action at this time.
0 commit comments