chakraModalOptions {shinyChakraUI}R Documentation

Modal options

Description

Options for the modal widget (chakraModal).

Usage

chakraModalOptions(
  closeOnEsc = TRUE,
  isCentered = TRUE,
  motionPreset = "scale",
  size = "md",
  ...
)

Arguments

closeOnEsc

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

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 Modal

Value

A named list, for usage in chakraModal.


[Package shinyChakraUI version 1.1.1 Index]