ReactContext | R Documentation |
Render children with React.
ReactContext(...)
... |
Children to render. |
if (interactive()) shinyApp(
ui = shiny.react:::ReactContext(
"This text is rendered by React"
),
server = function(input, output) {}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.