Components
Modal
Code

Modal

NOTE: Exotic components are not callable.

Parameters

props

  • Type: @vtex/shoreline-components.ModalProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>

Props

onClose (optional)

  • Type: { (event: typescript.Event): void; }

open (optional)

  • Type: boolean

portal (optional)

  • Type: boolean

View source (opens in a new tab)