Skip to content

How to create own bbcode preset with react component #100

Answered by JiLiZART
andrxscs asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, now you can only pass children as react components. But it's good idea to render node.content and pass as attribute (I create issue for ipmplementing this)

I improved your code (with children) https://codesandbox.io/s/great-rhodes-rrkn0?file=/src/App.js

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JiLiZART
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #99 on May 25, 2021 18:34.