File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
packages/material-react-table/src/components/buttons Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,17 @@ export const MRT_ToggleGlobalFilterButton = <TData extends MRT_RowData>({
3030
3131 return (
3232 < Tooltip title = { rest ?. title ?? localization . showHideSearch } >
33- < IconButton
34- aria-label = { rest ?. title ?? localization . showHideSearch }
35- disabled = { ! ! globalFilter && showGlobalFilter }
36- onClick = { handleToggleSearch }
37- { ...rest }
38- title = { undefined }
39- >
40- { showGlobalFilter ? < SearchOffIcon /> : < SearchIcon /> }
41- </ IconButton >
33+ < span >
34+ < IconButton
35+ aria-label = { rest ?. title ?? localization . showHideSearch }
36+ disabled = { ! ! globalFilter && showGlobalFilter }
37+ onClick = { handleToggleSearch }
38+ { ...rest }
39+ title = { undefined }
40+ >
41+ { showGlobalFilter ? < SearchOffIcon /> : < SearchIcon /> }
42+ </ IconButton >
43+ </ span >
4244 </ Tooltip >
4345 ) ;
4446} ;
You can’t perform that action at this time.
0 commit comments