chakraModalOptions: Modal options

Description Usage Arguments Value

View source: R/chakraModal.R

Description

Options for the modal widget (chakraModal).

Usage

1
2
3
4
5
6
7
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.


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