From c78dbcf8f89072dc9c2fa8ba81e2cf5a80218cd7 Mon Sep 17 00:00:00 2001
From: Haishan <haishanhan@gmail.com>
Date: Sun, 13 Jun 2021 15:20:12 +0800
Subject: Support switch theme on backend config page

---
 src/components/Modal.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/Modal.tsx')

diff --git a/src/components/Modal.tsx b/src/components/Modal.tsx
index fda3263..e91523c 100644
--- a/src/components/Modal.tsx
+++ b/src/components/Modal.tsx
@@ -1,10 +1,10 @@
 import cx from 'clsx';
-import React from 'react';
-import Modal from 'react-modal';
+import * as React from 'react';
+import Modal, { Props as ReactModalProps } from 'react-modal';
 
 import s0 from './Modal.module.scss';
 
-type Props = {
+type Props = ReactModalProps & {
   isOpen: boolean;
   onRequestClose: (...args: any[]) => any;
   children: React.ReactNode;
-- 
cgit v1.3.1

