warning_text: Warning Text Function

View source: R/warning_text.R

warning_textR Documentation

Warning Text Function

Description

This function create warning text.

Usage

warning_text(inputId, text)

Arguments

inputId

The input slot that will be used to access the value

text

Text that goes in the main

Value

a warning box HTML shiny tag object

See Also

Other Govstyle feedback types: details(), gov_summary(), insert_text(), label_hint(), noti_banner(), panel_output(), tag_Input(), value_box()

Examples

shinyGovstyle::warning_text(
  inputId = "warn1",
  text = "You can be fined up to £5,000 if you do not register."
)

shinyGovstyle documentation built on April 13, 2026, 5:06 p.m.