Components
FilterApply
Code

FilterApply

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

Action that applies the Filter value, and closes the popover

Parameters

NameType
propsPopoverDismissProps & RefAttributes<HTMLButtonElement (opens in a new tab)>

Returns

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

Example

example.tsx
<FilterApply>Apply</FilterApply>
import React from 'react'
import { FilterApply } from '@vtex/shoreline-components'

export default function App() {
return (<>
<FilterApply>Apply</FilterApply>
</>
)}

Defined in

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