| warning_text | R Documentation |
This function create warning text.
warning_text(inputId, text)
inputId |
The id assigned to the component's root element. For Shiny
input components this is also the name used to access the value via
|
text |
Text that goes in the main. Accepts a plain character string,
or |
a warning box HTML shiny tag object
Other Govstyle feedback types:
confirmation_panel(),
details(),
gov_summary(),
gov_tag(),
inset_text(),
label_hint(),
noti_banner(),
value_box()
shinyGovstyle::warning_text(
inputId = "warn1",
text = "You can be fined up to £5,000 if you do not register."
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.