Description Usage Arguments Author(s) Examples
A user list block
1 |
... |
slot for userListItem |
David Granjon, dgranjon@ymail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | if (interactive()) {
library(shiny)
library(gentelellaShiny)
shinyApp(
ui = gentelellaPageCustom(
gentelellaBody(
box(
width = 3,
title = "user List",
userList(
userListItem(
user_img = "https://image.flaticon.com/icons/svg/145/145862.svg",
user_url = "http:://www.google.com",
title = "user 1",
subtitle = "2 Sales Today",
"$2300. Agent Avarage Sales."
),
userListItem(
user_img = "https://image.flaticon.com/icons/svg/145/145864.svg",
user_url = "http:://www.google.com",
title = "user 2",
subtitle = "4 Sales Today",
"$4600. Agent Avarage Sales."
)
)
)
)
),
server <- function(input, output) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.