rez-table-listing-mui 1.0.45 → 1.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/topbar/index.tsx +2 -6
package/package.json
CHANGED
|
@@ -45,7 +45,6 @@ function Topbar<T>({
|
|
|
45
45
|
tableStates,
|
|
46
46
|
onFilterButtonClick,
|
|
47
47
|
}: TopbarProps<T>) {
|
|
48
|
-
const [isFullscreenState, setIsFullscreenState] = useState(isFullscreen);
|
|
49
48
|
const [sortAnchorEl, setSortAnchorEl] = useState<HTMLElement | null>(null);
|
|
50
49
|
const [groupBy, setGroupBy] = useState<string>("None");
|
|
51
50
|
|
|
@@ -211,11 +210,8 @@ function Topbar<T>({
|
|
|
211
210
|
onCompactToggle={(value: string) =>
|
|
212
211
|
setIsCompactTable(value === "Compact")
|
|
213
212
|
}
|
|
214
|
-
isFullscreen={
|
|
215
|
-
onFullscreenToggle={
|
|
216
|
-
fullscreenToggle();
|
|
217
|
-
setIsFullscreenState((prev) => !prev);
|
|
218
|
-
}}
|
|
213
|
+
isFullscreen={isFullscreen}
|
|
214
|
+
onFullscreenToggle={fullscreenToggle}
|
|
219
215
|
groupBy={groupBy}
|
|
220
216
|
onGroupByChange={(value: string) => setGroupBy(value)}
|
|
221
217
|
tableStates={tableStates}
|