react-hooks-use-modal
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -11,3 +11,3 @@ import React from 'react'; | ||
} | ||
export declare type UseModal = (elementId: string, options: ModalOptions) => [ | ||
export declare type UseModal = (elementId: string, options?: ModalOptions) => [ | ||
ModalWrapper: React.FC<{ | ||
@@ -14,0 +14,0 @@ children: React.ReactNode; |
{ | ||
"name": "react-hooks-use-modal", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "shibe97", | ||
@@ -5,0 +5,0 @@ "description": "A react hook which can open the modal with react-portal", |
7987