Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / src / inputs / __todo / GoogleAutoComplete / AutoSuggest.d.ts
Size: Mime:
/**
 * @file https://jira.skava.net/browse/SKREACT-701
 * @todo - had it working
 *       - refactored to make it able to be split up
 *       - remaining is connect functionality to work again
 *       - then split & done
 *
 *
 * @todo
 */
import React from 'react';
import { AutoSuggestInput } from './AutoSuggestInput';
import { AutoSuggestItem } from './AutoSuggestItem';
import { GoogleLogo } from './GoogleLogo';
/**
 * @todo - this actually  should be a dropdown state too??
 *
 * @type {Organism}
 */
declare class AutoSuggestOrganism extends React.Component {
    static AutoSuggestItem: typeof AutoSuggestItem;
    static AutoSuggestInput: typeof AutoSuggestInput;
    static GoogleLogo: typeof GoogleLogo;
    static AutoSuggestState: any;
    /**
     * @todo ...
     */
    static defaultProps: {
        shouldClearItemsOnError: boolean;
        onError: any;
        options: Readonly<{}>;
        debounce: number;
        shouldHighlightFirstSuggestion: boolean;
    };
    constructor(props: any);
    componentDidMount(): void;
    handleOnChangeEmit: (event: any) => void;
    renderInput: () => JSX.Element;
    renderItem: (item: any, index: any) => JSX.Element;
    renderList: () => JSX.Element;
    /**
     * @todo - or render when  focused?
     */
    renderWhenContent: () => JSX.Element | "";
    render(): JSX.Element;
}
export { AutoSuggestOrganism };
export { AutoSuggestOrganism as AutoSuggest };
export default AutoSuggestOrganism;