Thanks for putting this together by the way. It works great.
The only issue I am having is that nothing renders after my custom React Component. I am using the transform function according to the example of someone who got it working in a closed issue
Hello,
Thanks for putting this together by the way. It works great.
The only issue I am having is that nothing renders after my custom React Component. I am using the transform function according to the example of someone who got it working in a closed issue
{ReactHtmlParser(post.content, {transform(node:any, index: any, value:any){if (node.type === 'tag' && node.name === 'noteemail') {return <NoteEmail key={index}/>} }})}
Everything renders before the component but nothing renders after the component.
I was looking through the Readme but couldnt figure out what I was doing wrong.
Thanks