Repository URL to install this package:
|
Version:
3.7.2 ▾
|
import * as React from 'react';
import { SelectProps } from '@skava/ui';
import { isValidSelect } from '../../validators';
import { InputProps, InputState } from '../inputs';
export declare type SelectDropDownPluginProps = InputProps & React.HTMLAttributes<HTMLSelectElement> & ({
attributes: SelectProps;
} | SelectProps);
declare class SelectDropDownPlugin extends React.Component<SelectDropDownPluginProps> {
static isSatisfiedByProps(props: {
type: string;
}): boolean;
static defaultState: (inputState: InputState<import("../inputs/typings").AnyObj>) => {
validate: typeof isValidSelect;
};
readonly isValid: any;
/**
* @todo !!! these 3 are good examples of why we need validation strategy
*/
handleChange: (args: string) => void;
handleBlur: () => void;
handleFocus: () => void;
render(): JSX.Element;
}
export { SelectDropDownPlugin };
export default SelectDropDownPlugin;