Skip to content

Commit 386fab7

Browse files
Rename renderOption for clarity
1 parent 640f22c commit 386fab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Let’s learn how you can use Utils SDK to render RTE embedded items and Superch
2727
### Create Render Option
2828
To render embedded items on the front-end, use the renderOptions function, and define the UI elements you want to show in the front-end of your website, as shown in the example below:
2929
```js
30-
const renderOptions = {
30+
const renderOption = {
3131
// to render Supercharged RTE NodeType content like paragraph, link, table, order list, un-order list and more.
3232
p: (node, next) => {
3333
`<p class='class-id'>${next(node.children)}</p>` // you will need to call next function with node children contents

0 commit comments

Comments
 (0)