ChemPare Documentation - v0.0.0
    Preparing search index...

    Interface UseSearchProps

    Props for the UseSearch hook

    interface UseSearchProps {
        setSearchResults: Dispatch<SetStateAction<Product[]>>;
        setStatusLabel: Dispatch<SetStateAction<string | boolean>>;
        setIsLoading: Dispatch<SetStateAction<boolean>>;
    }
    Index

    Properties

    setSearchResults: Dispatch<SetStateAction<Product[]>>

    Function to update the search results array

    setStatusLabel: Dispatch<SetStateAction<string | boolean>>

    Function to update the status label text/visibility

    setIsLoading: Dispatch<SetStateAction<boolean>>

    Function to update the loading state