Grapes homepage1.57.0
  • Guide
  • Tokens
  • Components
    Grapes on GithubGrapes on Figma
    Interaction
    • Button
    • IconButton
    • FloatingActionBar
    • Link
    Icons
    • Icon
    • HighlightIcon
    Form
    • AmountInput
    • Autocomplete
    • AutocompleteMultiple
    • AutocompletePlace
    • CheckboxBox
    • CheckboxField
    • DatePicker
    • FormField
    • Input
    • OptionGroup
    • PasswordInput
    • PhoneInput
    • RadioBox
    • RadioField
    • RadioGroup
    • Select
    • SwitchField
    • TextArea
    • TextInput
    • Upload
    • UploadButton
    Feedback
    • Badge
    • Banner
    • Callout
    • EmptyState
    • Modal
    • ModalSlideshow
    • DeprecatedModalSlideshow
    • PageModal
    • Skeleton
    • Tag
    • Toast
    • Tooltip
    Data display
    • Accordion
    • Avatar
    • Box
    • Calendar
    • CalendarRange
    • CollapsibleList
    • FileCard
    • InfoTip
    • ListBox
    • ListView
    • Panel
    • SidePanel
    • DeprecatedPreview
    • Table
    • Timeline
    • useDateFormatter
    Navigation
    • DropdownItem
    • DropdownMenu
    • Navigation
    • NavigationItem
    • Popover
    • Tabs

    DeprecatedModalSlideshow

    DeprecatedModalSlideshow is a special Modal using a Slideshow as header.

    View source code
    • Usage
    • Props
    • Accessibility
    • isOpen
      boolean

      Whether the ModalSlideshow should be open.

    • onCancel
      MouseEventHandler<HTMLElement>

      Handler that is called to cancel the slideshow.

    • onClose
      MouseEventHandler<HTMLElement>

      Handler that is called when the ModalSlideshow is closed.

    • onDone
      MouseEventHandler<HTMLElement>

      Handler that is called after the last slide has been displayed.

    • slides
      DeprecatedModalSlideshowSlide[]

      The slides to display in the ModalSlideshow.

    • translations
      { cancel: string; previous: string; next: string; done: string; }

      The translations for the buttons.

    • noAnimation
      boolean

      Whether the ModalSlideshow should have opening and closing animation.

    • portalContainer
      Element

      The element where to mount the Modal. It needs to be outside the GrapesProvider tree for the focus trap to work properly.

      Default: document.body