Create a button for a modal dialog — modalButton

modalButton(label, icon = NULL)

Arguments

label

The contents of the button or link--usually a text label, but you could also use any other HTML, like an image.

icon

An optional icon() to appear on the button.

Description

When clicked, a modalButton will dismiss the modal dialog.

See also

modalDialog() for examples.