DefinitelyTyped/types/react-daum-postcode/index.d.ts
Ferdy Budhidharma 6d2fc7181a feat(react-dependents): update to TS 2.8 (part 1 of 2) (#27743)
* feat(react-dependents): update to TS 2.8

* exclude react-dom

* fix version mismatches
2018-08-03 21:01:14 +01: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.8
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;
}