chakraAlertDialogOptions: Alert dialog options

Description Usage Arguments Value

View source: R/chakraAlertDialog.R

Description

Options for the alert dialog widget (chakraAlertDialog).

Usage

1
2
3
4
5
6
7
8
chakraAlertDialogOptions(
  closeOnEsc = TRUE,
  colorScheme = "red",
  isCentered = TRUE,
  motionPreset = "scale",
  size = "md",
  ...
)

Arguments

closeOnEsc

whether to close the modal on pressing the 'esc' key

colorScheme

a Chakra color scheme

isCentered

whether to center the modal on screen

motionPreset

transition that should be used for the modal; one of "scale", "none", "slideInBottom", or "slideInRight"

size

modal size, "sm", "md", "lg", "xl", "2xl", "full", "xs", "3xl", "4xl", "5xl", or "6xl"

...

other attributes of AlertDialog

Value

A named list, for usage in chakraAlertDialog.


shinyChakraUI documentation built on Jan. 5, 2022, 5:08 p.m.