File tree 4 files changed +1040
-812
lines changed
packages/ra-ui-materialui/src
4 files changed +1040
-812
lines changed Original file line number Diff line number Diff line change 51
51
"jest-circus" : " 26.6.0" ,
52
52
"jest-resolve" : " 26.6.0" ,
53
53
"jest-watch-typeahead" : " 0.6.1" ,
54
- "lerna" : " ~5.1.8 " ,
54
+ "lerna" : " ~5.5.2 " ,
55
55
"lint-staged" : " ^13.0.3" ,
56
56
"lolex" : " ~2.3.2" ,
57
57
"prettier" : " ~2.1.1" ,
Original file line number Diff line number Diff line change @@ -88,7 +88,11 @@ export const TabbedShowLayout = (props: TabbedShowLayoutProps) => {
88
88
const record = useRecordContext ( props ) ;
89
89
const nonNullChildren = Children . toArray ( children ) . filter (
90
90
child => child !== null
91
- ) ;
91
+ ) as ReactElement < {
92
+ context ?: string ;
93
+ spacing ?: ResponsiveStyleValue < number | string > ;
94
+ divider ?: ReactNode ;
95
+ } > [ ] ;
92
96
const [ tabValue , setTabValue ] = useState ( 0 ) ;
93
97
94
98
const handleTabChange = ( event : ChangeEvent < { } > , value : any ) : void => {
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export const BulkActionsToolbar = (props: BulkActionsToolbarProps) => {
72
72
</ div >
73
73
< TopToolbar className = { BulkActionsToolbarClasses . topToolbar } >
74
74
{ Children . map ( children , child =>
75
- isValidElement ( child )
75
+ isValidElement < any > ( child )
76
76
? cloneElement ( child , {
77
77
filterValues,
78
78
resource,
You can’t perform that action at this time.
0 commit comments