panel_output: Panel output (deprecated)

View source: R/panel_output.R

panel_outputR Documentation

Panel output (deprecated)

Description

[Deprecated]

panel_output() was renamed to confirmation_panel() in shinyGovstyle 0.3.0, with main_text becoming title and sub_text becoming content. The output is unchanged. panel_output() will be removed in shinyGovstyle 1.0.0.

Usage

panel_output(inputId, main_text, sub_text)

Arguments

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 ⁠input$<inputId>⁠.

main_text

Use confirmation_panel(title) instead.

sub_text

Use confirmation_panel(content) instead.

Value

a panel HTML shiny tag object

Examples

# Before
# panel_output("panel1", main_text = "Application complete",
#   sub_text = "Your reference is xvsiq")

# After
confirmation_panel(
  "panel1",
  title = "Application complete",
  content = "Your reference is xvsiq"
)

shinyGovstyle documentation built on Oct. 16, 2026, 1:07 a.m.