thai-address-picker-react
Version:
[](https://www.npmjs.com/package/thai-address-picker-react) [](https://www.npmjs.com/package/thai-address-picker-react) [ • 743 B
TypeScript
import { AutoCompleteProps } from 'antd';
import { default as CSS } from 'csstype';
import { ReactNode } from 'react';
import { Address, Config } from '../logic';
export interface Props {
scope?: string;
delimiter?: string;
value?: string;
filter?: (value?: Address, index?: number, array?: Address[]) => boolean;
onChange?: (value: string) => void;
onSelect?: (address: Address) => void;
style?: CSS.Properties;
className?: string;
autoCompleteProps?: AutoCompleteProps;
}
export declare const CreateInput: (config?: Config) => {
District: (props?: Props) => ReactNode;
Amphoe: (props?: Props) => ReactNode;
Province: (props?: Props) => ReactNode;
Zipcode: (props?: Props) => ReactNode;
};