createReactShinyInput | R Documentation |
This is used to create custom react element for R. Specifically for radio and checkboxgroup which don't work with shiny.react.
createReactShinyInput(
inputId,
class,
default = NULL,
configuration = list(),
container = htmltools::tags$div,
dependencies = NULL
)
inputId |
Unique input id. |
class |
Element class. Must match the JavaScript class counterpart. |
default |
Default value. |
configuration |
Props. |
container |
Default container. |
dependencies |
Deps. |
A list of tags.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.