Skip to main content

SearchFeatureConfig <T>

Index

Properties

optionalisSearchMatchingItem

isSearchMatchingItem?: (search: string, item: ItemInstance<T>) => boolean

Type declaration

optionalonCloseSearch

onCloseSearch?: () => void

Type declaration

    • (): void
    • Returns void

optionalonOpenSearch

onOpenSearch?: () => void

Type declaration

    • (): void
    • Returns void

optionalonSearchMatchesItems

onSearchMatchesItems?: (search: string, items: ItemInstance<T>[]) => void

Type declaration

optionalsetSearch

setSearch?: SetStateFn<null | string>