A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://appsilon.github.io/shiny.emptystate/reference/empty_state_component.html below:

Create an empty state component — empty_state_component • shiny.emptystate

Function to create a custom empty state component.

Usage
empty_state_component(content, title, subtitle = NULL)
Arguments
content

An HTML tag object used to render and provide the main content for the empty state.

title

A character string representing the main text that describes the empty state content.

subtitle

A character string providing supporting details about the empty state. Defaults to NULL

Examples
library(shiny.emptystate)

if (interactive()) {
  empty_state_component(
    fontawesome::fa(name = "clipboard-question", height = "10rem"),
    title = "Content is not available",
    subtitle = "Please provide valid inputs to generate content."
  )

  empty_state_component(
    bsicons::bs_icon(
      name = "question-square",
      size = "15rem"
    ),
    title = "Content is not available",
    subtitle = "Please provide valid inputs to generate content."
  )
}


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4