Skip to content

Commit 4d0e24c

Browse files
Pass cells to standalone example
1 parent 1272a5a commit 4d0e24c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import logo from "./logo.svg";
1414
import "./App.css";
1515
import schema from "./schema.json";
1616
import uischema from "./uischema.json";
17-
import { materialRenderers } from "@jsonforms/material-renderers";
17+
import { materialCells, materialRenderers } from "@jsonforms/material-renderers";
1818
import { Store } from "redux";
1919
import { get } from "lodash";
2020
import RatingControl from "./RatingControl";
@@ -144,6 +144,7 @@ const App = ({ store, classes }: AppProps) => {
144144
//register custom renderer
145145
{ tester: ratingControlTester, renderer: RatingControl }
146146
]}
147+
cells={materialCells}
147148
onChange={({ errors, data }) => setStandaloneData(data)}
148149
/>
149150
</div>

0 commit comments

Comments
 (0)