f7Margin
adds a margin to the given tag.
Author
David Granjon, dgranjon@ymail.com
Examples
if(interactive()){
library(shiny)
library(shinyMobile)
cardTag <- f7Card(
title = "Card header",
"This is a simple card with plain text,
but cards can also contain their own header,
footer, list view, image, or any other element.",
footer = tagList(
f7Button(color = "blue", label = "My button", href = "https://www.google.com"),
f7Badge("Badge", color = "green")
)
)
shinyApp(
ui = f7Page(
title = "Margins",
f7SingleLayout(
navbar = f7Navbar(title = "f7Margin"),
f7Margin(cardTag),
cardTag
)
),
server = function(input, output) {}
)
}