Skip to content

Commit

Permalink
Pass cells to standalone example
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandraBuzila committed Nov 29, 2019
1 parent 1272a5a commit 4d0e24c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import logo from "./logo.svg";
import "./App.css";
import schema from "./schema.json";
import uischema from "./uischema.json";
import { materialRenderers } from "@jsonforms/material-renderers";
import { materialCells, materialRenderers } from "@jsonforms/material-renderers";
import { Store } from "redux";
import { get } from "lodash";
import RatingControl from "./RatingControl";
Expand Down Expand Up @@ -144,6 +144,7 @@ const App = ({ store, classes }: AppProps) => {
//register custom renderer
{ tester: ratingControlTester, renderer: RatingControl }
]}
cells={materialCells}
onChange={({ errors, data }) => setStandaloneData(data)}
/>
</div>
Expand Down

0 comments on commit 4d0e24c

Please sign in to comment.