Props: The properties passed to the SearchByProperty component.

Param

The values entered in the input fields.

Param

The property name to be searched.

Param

A function that is called when the search term changes for a property.

Param

A function that is called when the reset button is clicked for a property.

Type Parameters

  • U extends string | number | readonly string[] | undefined = string

    The type of the input values. By default, it's set to 'string'.

Hierarchy

  • PropsSearchBProp

Properties

handleReset: ((property) => void)

Type declaration

    • (property): void
    • Parameters

      • property: string

      Returns void

handleSearchByProperty: ((name, value) => void)

Type declaration

    • (name, value): void
    • Parameters

      • name: string
      • value: string

      Returns void

inputValues: InputValues<U>
property: string

Generated using TypeDoc