tablerMediaCard {tablerDash} | R Documentation |
Create a Boostrap 4 media card
Description
Build a tabler media card
Usage
tablerMediaCard(..., title = NULL, date = NULL, href = NULL,
src = NULL, avatarUrl = NULL, width = 4)
Arguments
... |
Any other elements. |
title |
Title. |
date |
Date. |
href |
External link. |
src |
Image url. |
avatarUrl |
Avatar image. |
width |
Card width. 4 by default. |
Author(s)
David Granjon, dgranjon@ymail.com
Examples
if(interactive()){
library(shiny)
library(tablerDash)
shiny::shinyApp(
ui = tablerDashPage(
navbar = NULL,
footer = NULL,
title = "test",
body = tablerDashBody(
tablerMediaCard(
title = "Media Card",
date = "Today",
href = "https://www.google.com",
src = "https://preview.tabler.io/demo/photos/matt-barrett-339981-500.jpg",
avatarUrl = "https://image.flaticon.com/icons/svg/145/145842.svg",
width = 6
)
)
),
server = function(input, output) {}
)
}
[Package tablerDash version 0.1.0 Index]