# NOT RUN {
if (interactive()) {
library(shiny)
library(shinydashboard)
shinyApp(
ui = dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody(
box(
title = "Social Buttons",
status = NULL,
socialButton(
url = "http://dropbox.com",
type = "dropbox"
),
socialButton(
url = "http://github.com",
type = "github"
)
)
),
title = "Description Blocks"
),
server = function(input, output) { }
)
}
# }
Run the code above in your browser using DataLab