This is a wrapper for snackbar. It provides yellow warning styling for the snackbar.

snackbarWarning(id, message, includeRemoveButton = TRUE)

Arguments

id

A length 1 character vector. The unique id of the snackbar. This needs to match up with the id argument specified in the serve side call to showSnackbar().

message

the text message to display in the snackbar

includeRemoveButton

whether or not to show the remove button on the right side of the snackbar

See also

showSnackbar

Other snackbar wrappers: snackbarDanger, snackbarSuccess