Repository URL to install this package:
|
Version:
3.7.0 ▾
|
/**
* @see https://gist.github.com/keeguon/2310008
* @todo ^ we can code split & load lazily the country list
*
* @see https://css-tricks.com/input-typecountry/
*/
import * as React from 'react';
import { Value } from '../../typings';
import { InputProps } from '../../inputs/typings';
import { InputState } from '../../inputs/InputState';
declare class CountryPlugin extends React.Component<InputProps> {
static isSatisfiedByProps(props: {
type: string;
}): boolean;
static defaultState: (inputState: InputState<import("../../inputs/typings").AnyObj>) => {
label: string;
tooltip: string;
validator: (value: Value) => string | true;
};
render(): JSX.Element;
}
export { CountryPlugin };
export default CountryPlugin;