Components
FilterPopover
Code

FilterPopover

FilterPopover(props): null | ReactElement<any, string | JSXElementConstructor<any>>

Filter popover box

Parameters

NameType
propsFilterPopoverProps & RefAttributes<HTMLDivElement (opens in a new tab)>

Returns

null | ReactElement<any, string | JSXElementConstructor<any>>

Example

example.tsx
<FilterProvider>
  <FilterPopover>...</FilterPopover>
</FilterProvider>
import React from 'react'
import { FilterProvider, FilterPopover } from '@vtex/shoreline-components'

export default function App() {
return (<>
<FilterProvider>
<FilterPopover>
...
</FilterPopover>
</FilterProvider>
</>
)}

Defined in

node_modules/.pnpm/@types+react@18.2.14/node_modules/@types/react/ts5.0/index.d.ts:355