SearchAndResetGlobalProps: The properties passed to the SearchAndResetGlobal component.

Param

The current search term.

Param

The CSS styles to be applied to the component.

Param

A function that is called when the search term changes.

Param

A function that is called when the reset search button is clicked.

Hierarchy

  • SearchAndResetGlobalProps

Properties

handleResetSearch: (() => void)

Type declaration

    • (): void
    • Returns void

handleSearch: ((event) => void)

Type declaration

    • (event): void
    • Parameters

      • event: ChangeEvent<HTMLInputElement>

      Returns void

searchTerm: string
style: CSSProperties

Generated using TypeDoc