Components
PopoverTrigger
Code

PopoverTrigger

Triggers popover containers

<PopoverProvider>
  <PopoverTrigger>Trigger</PopoverTrigger>
  <Popover>Content</Popover>
</PopoverProvider>

Parameters

props

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

Props

asChild (optional)

Children composition

  • Type: boolean

  • Default: false

View source (opens in a new tab)