Skip to content

Commit

Permalink
feat(react): make mui.Grid2 available
Browse files Browse the repository at this point in the history
  • Loading branch information
slisson committed Jan 24, 2025
1 parent 909059c commit afdff62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions react-ssr-client/src/components/DefaultComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as mui from "@mui/material";
import * as icons from "@mui/icons-material";
import {GenericComponent} from "./GenericComponent.tsx";
import { DataGrid } from '@mui/x-data-grid';
import Grid2 from "@mui/material/Unstable_Grid2"
import { SimpleTreeView, RichTreeView, TreeItem, TreeItem2 } from '@mui/x-tree-view';
import {ReferenceTargetChooser} from "./ReferenceTargetChooser.tsx";
import {ModelixTextField} from "./ModelixTextField.tsx";
Expand Down Expand Up @@ -84,6 +85,7 @@ export function registerDefaultComponents() {
}

registerGenericComponent("mui.DataGrid", DataGrid)
registerGenericComponent("mui.Grid2", Grid2)
registerGenericComponent("mui.SimpleTreeView", SimpleTreeView)
registerGenericComponent("mui.RichTreeView", RichTreeView)
registerGenericComponent("mui.TreeItem", TreeItem)
Expand Down

0 comments on commit afdff62

Please # to comment.