bitmax-dialog
Advanced tools
Comparing version 0.1.5 to 0.1.6
/// <reference types="react" /> | ||
export declare function modal(element: () => JSX.Element, data?: any, options?: any): Promise<unknown>; | ||
import { ModalOptionsType } from "./types"; | ||
export declare function modal(element: () => JSX.Element, data?: any, options?: Partial<ModalOptionsType>): Promise<unknown>; |
{ | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "main": "dist/index.js", |
import eventEmitter from "./eventEmitter" | ||
import _ from 'lodash' | ||
import { ModalOptionsType } from "./types" | ||
export function modal(element: () => JSX.Element, data?: any, options?:any) { | ||
export function modal(element: () => JSX.Element, data?: any, options?: Partial<ModalOptionsType>) { | ||
@@ -6,0 +7,0 @@ return new Promise(accept => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83913
886