bs4Quote: Create a Boostrap 4 block quote

Description Usage Arguments Author(s) Examples

View source: R/useful-items.R

Description

Build a bootstrap 4 block quote

Usage

1
bs4Quote(..., status)

Arguments

...

Content.

status

Block status: "primary", "danger", "success", "warning", "info" and "secondary" or any other supported colors. See https://adminlte.io/themes/dev/AdminLTE/pages/UI/general.html.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
if (interactive()) {
 library(shiny)
 library(bs4Dash)
 shinyApp(
  ui = bs4DashPage(
    navbar = bs4DashNavbar(), 
    sidebar = bs4DashSidebar(),
    body = bs4DashBody(
     fluidRow(
      bs4Quote("Blablabla", status = "indigo"),
      bs4Quote("Blablabla", status = "danger"),
      bs4Quote("Blablabla", status = "teal"),
      bs4Quote("Blablabla", status = "orange"),
      bs4Quote("Blablabla", status = "warning"),
      bs4Quote("Blablabla", status = "fuchsia")
     )
    ), 
    footer = bs4DashFooter()
  ),
  server = function(input, output) { }
 )
}

RX-PBB/bs4Mash documentation built on April 11, 2020, 12:15 a.m.