Function to create a custom empty state component.
Usageempty_state_component(content, title, subtitle = NULL)
Arguments
An HTML tag object used to render and provide the main content for the empty state.
A character string representing the main text that describes the empty state content.
A character string providing supporting details about the empty state. Defaults to NULL
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