DefinitelyTyped/types/react-daum-postcode/index.d.ts
Sa-ryong Kang b7ffa4797d [react-daum-postcode] bump js package version to 1.3.0 (#18555)
* [react-daum-postcode] bump js package version to 1.3.0

* [react-daum-postcode] add default export

* [react-daum-postcode] fix errors from CI

* [react-daum-postcode] fix import
2017-08-03 09:45:11 -07:00

27 lines
717 B
TypeScript

// Type definitions for react-daum-postcode 1.3
// Project: https://github.com/kimminsik-bernard/react-daum-postcode
// Definitions by: Sa-ryong Kang <https://github.com/Sa-ryong>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
import { Component } from 'react';
export namespace DaumPostcode {
interface Props {
onComplete: any;
width?: number | string;
height?: number | string;
autoClose?: boolean;
autoResize?: boolean;
animation?: boolean;
style?: any;
defaultQuery?: string;
theme?: any;
scriptUrl?: string;
}
}
export default class DaumPostcode extends Component<DaumPostcode.Props, any> {
render(): JSX.Element;
}