% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/warning_text.R
\name{warning_text}
\alias{warning_text}
\title{Warning Text Function}
\usage{
warning_text(inputId, text)
}
\arguments{
\item{inputId}{The input slot that will be used to access the value.}

\item{text}{Text that goes in the main}
}
\value{
a warning box html shiny object
}
\description{
This function create warning text
}
\examples{
if (interactive()) {
  ui <- fluidPage(
    shinyGovstyle::header(
      main_text = "Example",
      secondary_text = "User Examples",
      logo="shinyGovstyle/images/moj_logo.png"),
    shinyGovstyle::gov_layout(size = "two-thirds",
      shinyGovstyle::warning_text(
        inputId = "warn1",
        text = "You can be fined up to £5,000 if you do not register.")
    ),
    shinyGovstyle::footer(full = TRUE)
  )

  server <- function(input, output, session) {}
  shinyApp(ui = ui, server = server)
}
}
\keyword{warning}
