miniButtonBlock: Create a block-level button container

Description Usage Arguments Details See Also Examples

View source: R/layout.R

Description

Creates a full-width container for one or more buttons. The horizontal space will be evenly divided among any buttons that are added.

Usage

1
miniButtonBlock(..., border = "top")

Arguments

...

One or more actionButton or downloadButton objects.

border

Zero or more of c("top", "bottom"), indicating which sides should have borders, if any.

Details

When using miniButtonBlock with a miniTabstripPanel, consider passing the miniButtonBlock to miniTabstripPanel as the between argument.

See Also

For more information, see the Designing Gadget UI article on shiny.rstudio.com.

Examples

1
2
3
4
5
6
library(shiny)

miniButtonBlock(
  actionButton("reset", "Reset to defaults"),
  actionButton("clear", "Clear all")
)

rstudio/miniUI documentation built on May 28, 2019, 4:37 a.m.