Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ogheneovo12 authored Dec 16, 2023
1 parent 481362d commit 2121f85
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ import {
initialEditorValue,
} from "keystone-react-editor";
function App(){
return (
<DocumentEditor
value={initialEditorValue}
componentBlocks={{}}
documentFeatures={defaultDocumentFeatures}
/>
)
function App() {
return (
<DocumentEditor
initialValue={initialEditorValue}
componentBlocks={{}}
documentFeatures={defaultDocumentFeatures}
onChange={(value) => {
console.log(value);
}}
/>
);
}
```
Expand Down

0 comments on commit 2121f85

Please sign in to comment.