Skip to content

Commit

Permalink
Install npm emerald-json-editor-react
Browse files Browse the repository at this point in the history
  • Loading branch information
martineho committed Jan 3, 2024
1 parent 4b52783 commit 87f0563
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
34 changes: 34 additions & 0 deletions example-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions example-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"emerald-json-editor-react": "^1.1.0",
"next": "14.0.4",
"react": "^18",
"react-dom": "^18"
Expand Down
2 changes: 2 additions & 0 deletions example-app/src/app/ui/JsonForm.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import React from "react";
import { JsonEditorWrapper } from "emerald-json-editor-react";

const JsonForm = () => {
return (
<div className="border border-gray-200 text-gray-700 p-5 rounded-lg">
<JsonEditorWrapper />
Form here
</div>
);
Expand Down

0 comments on commit 87f0563

Please sign in to comment.