clearmatics / qreacto

Run standalone React components in your Quarto project!
https://clearmatics.github.io/qreacto/example.html
MIT License
27 stars 1 forks source link

Does qreacto allow passing parameters into the React Component? #22

Closed HaimarR closed 3 months ago

HaimarR commented 6 months ago

I have a single React component that is called from several qmd files. I would like to pass a String parameter into the react component to modify specific behavior of the component based on the parameter. Is that possible?

dweng0 commented 3 months ago

Hi HaimarR,

That's not currently possible at the moment, no data is passed into the "root" component at this time