Build a tabler blog card
tablerBlogCard(..., title = NULL, author = NULL, date = NULL, href = NULL, src = NULL, avatarUrl = NULL, width = 4, horizontal = FALSE)
... | Any other elements. |
---|---|
title | Title. |
author | Blog post author. |
date | Date. |
href | External link. |
src | Image url. |
avatarUrl | Avatar image. |
width | Card width. 4 by default. |
horizontal | Whether the card is horizontally displayed. FALSE by default. |
David Granjon, dgranjon@ymail.com
if(interactive()){ library(shiny) library(tablerDash) shiny::shinyApp( ui = tablerDashPage( navbar = NULL, footer = NULL, title = "test", body = tablerDashBody( tablerBlogCard( title = "Blog Card", author = "David", 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, "Look, my liege! The Knights Who Say Ni demand a sacrifice! …Are you suggesting that coconuts migr..." ) ) ), server = function(input, output) {} ) }