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 / dist / forms / input / ObserverInput.d.ts
Size: Mime:
import React from 'react';
import { InputChain } from './InputChain';
import { ObserverInputProps, InputConfig } from './typings';
declare class ObserverInput<Props extends ObserverInputProps = ObserverInputProps, State = any> extends React.Component<Props, State> {
    plugin: InputChain;
    static defaultProps: {
        className: string;
        classList: {
            wrap: string;
            input: string;
        };
        placeholderText: string;
        state: undefined;
        type: string;
    };
    Wrap: (props: any) => JSX.Element;
    /**
     * @todo should default pass in parent form on state for parent-child state chain factorying
     */
    constructor(props: Props);
    handleChange: (event: React.FormEvent<any>) => void;
    handleFocus: (event: React.FocusEvent<any>) => void;
    handleBlur: (event: React.FocusEvent<any>) => void;
    /**
     * @todo @ada
     */
    renderGroupBox(props: Props): JSX.Element;
    handleToggle: () => void;
    updateDropDownState: () => void;
    renderWrap(...children: any[]): JSX.Element;
    validate(): void;
    updatePluginFrom(props?: Props): void;
    componentWillMount(): void;
    /**
     * @todo !!! @ganesh this should be an InputChain !!!
     */
    renderNestedInputs: (props: InputConfig, index?: string | undefined) => InputChain<any, any>;
    renderInput: (props: Props) => {} | null | undefined;
    render(): {} | null | undefined;
}
export { ObserverInput as ObservableInput };
export { ObserverInput as Input };
export { ObserverInput };
export default ObserverInput;