Skip to contents

Usage

SnackbarContent(...)

Arguments

...

Props to pass to the component.

Value

Object with shiny.tag class suitable for use in the UI of a Shiny app.

Details

  • action node
    Default is - The action to display. It renders after the message, at the end of the snackbar.

  • classes object
    Default is - Override or extend the styles applied to the component.See CSS classes API below for more details.

  • message node
    Default is - The message to display.

  • role string
    Default is 'alert' The ARIA role attribute of the element.

  • sx Array<func| object| bool>| func| object
    Default is - The system prop that allows defining system overrides as well as additional CSS styles.See the sx page for more details.