[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
This commit is contained in:
Sa-ryong Kang
2017-08-04 01:45:11 +09:00
committed by Sheetal Nandi
parent 2be68bbacd
commit b7ffa4797d
2 changed files with 16 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
// Type definitions for react-daum-postcode 1.2
// 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
@@ -6,18 +6,21 @@
import { Component } from 'react';
export interface DaumPostcodeProps {
onComplete?: any;
width?: any;
height?: any;
autoClose?: any;
autoResize?: any;
animation?: any;
style?: any;
defaultQuery?: any;
theme?: any;
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<DaumPostcodeProps, any> {
export default class DaumPostcode extends Component<DaumPostcode.Props, any> {
render(): JSX.Element;
}

View File

@@ -1,5 +1,5 @@
{
"dependencies": {
"react-daum-postcode": "^1.2.1"
"react-daum-postcode": "^1.3.0"
}
}