UNPKG

jslib-nightly

Version:

SheerID JavaScript Library

38 lines (37 loc) 1.22 kB
import React from 'react'; import { OrganizationSearchResp, PropertiesOf, DatabaseId, Locale } from '../lib/types/types'; interface FetchOrganizationsProps { countryCode?: string; getItemProps: any; highlightedIndex: any; itemToString: any; minimumSearchValueLength: number; onLoaded: any; programId: DatabaseId; searchValue: any; orgSearchUrl?: string; orgSearchTags?: string; locale?: Locale; urlAddSchoolForm?: string; openOrgSearchEnabled?: boolean; getMenuProps?: any; } interface FetchOrganizationState { isErrored: string; loading: boolean; organizations: OrganizationSearchResp; } declare class FetchOrganizations extends React.Component<FetchOrganizationsProps, FetchOrganizationState> { static initialState: FetchOrganizationState; mounted: boolean; constructor(props: any); fetch: () => Promise<void>; reset(overrides: PropertiesOf<FetchOrganizationState>): void; debouncedFetch: any; componentDidMount(): void; componentDidUpdate(prevProps: any): void; componentWillUnmount(): void; render(): JSX.Element; } export declare const FetchOrganizationsComponent: typeof FetchOrganizations; export {};