-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip: switch to datagrid * chore: make container flex better, switch ad set list to datagrid * fix: field mistake * fix: adjust width settings * fix: move clone and edit into datagrid table
- Loading branch information
1 parent
fd1d3f8
commit 7f6b46e
Showing
24 changed files
with
546 additions
and
979 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { | ||
GridToolbarColumnsButton, | ||
GridToolbarContainer, | ||
GridToolbarFilterButton, | ||
GridToolbarQuickFilter, | ||
} from "@mui/x-data-grid"; | ||
import { Box } from "@mui/material"; | ||
import { PropsWithChildren } from "react"; | ||
|
||
export function CustomToolbar({ children }: PropsWithChildren) { | ||
return ( | ||
<GridToolbarContainer> | ||
{children} | ||
<GridToolbarColumnsButton /> | ||
<GridToolbarFilterButton /> | ||
<Box flex={1} /> | ||
<GridToolbarQuickFilter /> | ||
</GridToolbarContainer> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.