diff options
| author | Haishan <[email protected]> | 2020-11-13 23:03:41 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2020-11-13 23:03:41 +0800 |
| commit | 3bbca8017b5de78ce982efd6d2889262bff2d7d1 (patch) | |
| tree | 19550d8ef68bca2b36a92b1c6e677bd4e6418a55 /src/components/Modal.tsx | |
| parent | 837cca81317fe7158bc1be2d07949e64d07a0293 (diff) | |
chore: remove husky and lint-staged
Diffstat (limited to 'src/components/Modal.tsx')
| -rw-r--r-- | src/components/Modal.tsx | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/src/components/Modal.tsx b/src/components/Modal.tsx index 885b350..cb5fea3 100644 --- a/src/components/Modal.tsx +++ b/src/components/Modal.tsx @@ -5,14 +5,21 @@ import Modal from 'react-modal'; import s0 from './Modal.module.css'; type Props = { - isOpen: boolean; - onRequestClose: (...args: any[]) => any; - children: React.ReactNode; - className?: string; - overlayClassName?: string; + isOpen: boolean; + onRequestClose: (...args: any[]) => any; + children: React.ReactNode; + className?: string; + overlayClassName?: string; }; -function ModalAPIConfig({ isOpen, onRequestClose, className, overlayClassName, children, ...otherProps }: Props) { +function ModalAPIConfig({ + isOpen, + onRequestClose, + className, + overlayClassName, + children, + ...otherProps +}: Props) { const contentCls = cx(className, s0.content); const overlayCls = cx(overlayClassName, s0.overlay); return ( |
