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/forms / build / dist / new-forms / plugins / AddressPlugins / ProvincePlugin.d.ts
Size: Mime:
import * as React from 'react';
import { Value } from '../../typings';
import { InputProps } from '../../inputs/typings';
import { InputState } from '../../inputs/InputState';
/**
 * @see https://en.wikipedia.org/wiki/List_of_long_place_names
 */
declare class ProvincePlugin extends React.Component<InputProps> {
    static isSatisfiedByProps(props: {
        type: string;
    }): boolean;
    static defaultState: (inputState: InputState<import("../../inputs/typings").AnyObj>) => {
        tooltip: string;
        validator: (value: Value) => string | true;
    };
    /** @description this dynamically changes province based on country */
    readonly label: "Province" | "State" | "State / Province";
    render(): JSX.Element;
}
export { ProvincePlugin };
export default ProvincePlugin;