mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-10 09:40:21 +08:00
react-onsenui: update Modal to match documentation (#25628)
https://onsen.io/v2/api/react/Modal.html Added “lift” animation and changed show and hide methods.
This commit is contained in:
committed by
Sheetal Nandi
parent
2b2d81c226
commit
208df7b962
13
types/react-onsenui/index.d.ts
vendored
13
types/react-onsenui/index.d.ts
vendored
@@ -200,11 +200,14 @@ export class Dialog extends Component<{
|
||||
}, any> {}
|
||||
|
||||
export class Modal extends Component<{
|
||||
animation?: "fade" | "none",
|
||||
animationOptions?: AnimationOptions
|
||||
onShow?(): void,
|
||||
onHide?(): void,
|
||||
isOpen?: boolean
|
||||
animation?: "fade" | "lift" | "none",
|
||||
animationOptions?: AnimationOptions,
|
||||
onPreShow?(): void,
|
||||
onPostShow?(): void,
|
||||
onPreHide?(): void,
|
||||
onPostHide?(): void,
|
||||
isOpen?: boolean,
|
||||
onDeviceBackButton?(): void,
|
||||
}, any> {}
|
||||
|
||||
export class Popover extends Component<{
|
||||
|
||||
Reference in New Issue
Block a user