Components
PopoverDismiss
Code

PopoverDismiss

Dismiss the Popover

<PopoverProvider>
  <Popover>
    <PopoverDismiss>Dismiss</PopoverDismiss>
  </Popover>
</PopoverProvider>

Parameters

props

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

Props

asChild (optional)

Children composition

  • Type: boolean

  • Default: false

View source (opens in a new tab)