Wrap with the Filter Provider to apply the selected filter to child components.

Props API

query
SimpleFilterQueryProps

SimpleFilter query props

autocompleteProps
Omit<AutocompleteProps, "options">

Props that the autocomplete input will receive

options
AutocompleteOption[] | string[]

The possible values for the selected column, will be ignored if query is passed

loading
boolean

When true, shows a skeleton loader

columnName
string

The name of the column to which the filter will be applied, will be ignored if query is passed

error
boolean

Whether there was an error or not, setting to true will enable freeSolo mode

defaultOpen
boolean

If true, the dropdown will be open by default