if (interactive()) {
library(shiny)
library(shinyMobile)
shinyApp(
ui = f7Page(
title = "Links",
f7SingleLayout(
navbar = f7Navbar(title = "f7Link"),
f7Link(label = "Google", href = "https://www.google.com"),
f7Link(href = "https://www.twitter.com", icon = f7Icon("bolt_fill"))
)
),
server = function(input, output) {}
)
}
Run the code above in your browser using DataLab