Skip to content

Commit

Permalink
fix naming for node view in react docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbch committed Aug 18, 2023
1 parent 48afc38 commit d735b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/node-views/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ The `NodeViewWrapper` and `NodeViewContent` components render a `<div>` HTML tag

## Changing the default content tag for a node view

By default a NodeView rendered by `ReactNodeViewRenderer` will always have a wrapping `div` inside. If you want to change the type of this node, you can the `contentDOMElementTag` to the `ReactNodeViewRenderer` options:
By default a node view rendered by `ReactNodeViewRenderer` will always have a wrapping `div` inside. If you want to change the type of this node, you can the `contentDOMElementTag` to the `ReactNodeViewRenderer` options:

```js
// this will turn the div into a header tag
Expand Down

0 comments on commit d735b04

Please sign in to comment.