diff --git a/src/index.tsx b/src/index.tsx index 9a8d0bb..b183a9b 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -7,7 +7,8 @@ type IWindowProps = { height: number; }; -type IPopupProps = IWindowProps & { +type IPopupProps = Partial> & { + url: string; onClose: () => void; onCode: (code: string, params: URLSearchParams) => void; children: React.ReactNode;