interface HeaderViewProps {
    city: string;
    displaySearchBar: boolean;
    getAllPlacesUsingSearch: (() => void);
    goToFilterPage: (() => void);
    navigation: any;
    page: "map" | "carousel";
    searchValue: string;
    setSearchValue: ((value) => void);
    togglePage: (() => void);
    toggleSearchBar: (() => void);
}

Properties

city: string
displaySearchBar: boolean
getAllPlacesUsingSearch: (() => void)

Type declaration

    • (): void
    • Returns void

goToFilterPage: (() => void)

Type declaration

    • (): void
    • Returns void

navigation: any
page: "map" | "carousel"
searchValue: string
setSearchValue: ((value) => void)

Type declaration

    • (value): void
    • Parameters

      • value: string

      Returns void

togglePage: (() => void)

Type declaration

    • (): void
    • Returns void

toggleSearchBar: (() => void)

Type declaration

    • (): void
    • Returns void