mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
[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:
committed by
Sheetal Nandi
parent
2be68bbacd
commit
b7ffa4797d
27
types/react-daum-postcode/index.d.ts
vendored
27
types/react-daum-postcode/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"react-daum-postcode": "^1.2.1"
|
||||
"react-daum-postcode": "^1.3.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user