UNPKG

thai-address-picker-react

Version:

[![NPM](https://img.shields.io/npm/v/thai-address-picker-react)](https://www.npmjs.com/package/thai-address-picker-react) [![NPM](https://img.shields.io/badge/Watsize-Library-289548)](https://www.npmjs.com/package/thai-address-picker-react) [![Downloads](

22 lines (21 loc) 743 B
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; };