This function create warning text.
Examples
shinyGovstyle::warning_text(
inputId = "warn1",
text = "You can be fined up to £5,000 if you do not register."
)
#> <div class="govuk-warning-text" id="warn1">
#> <span class="govuk-warning-text__icon" aria-hidden="true">!</span>
#> <strong class="govuk-warning-text__text">
#> You can be fined up to £5,000 if you do not register.
#> <span class="govuk-visually-hidden">Warning</span>
#> </strong>
#> </div>