diff --git a/src/components/modals/CreateVault.tsx b/src/components/modals/CreateVault.tsx index 4dce2df..8fb7396 100644 --- a/src/components/modals/CreateVault.tsx +++ b/src/components/modals/CreateVault.tsx @@ -7,7 +7,7 @@ export const CreateVault: FC<{ onClose: () => void }> = ({ onClose }) => { const { address } = useAccount(); return ( - +
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin iaculis magna efficitur, ultricies mi sed, malesuada turpis. diff --git a/src/components/modals/modal.tsx b/src/components/modals/modal.tsx index 439c779..7434e60 100644 --- a/src/components/modals/modal.tsx +++ b/src/components/modals/modal.tsx @@ -1,10 +1,23 @@ +/* eslint-disable jsx-a11y/no-static-element-interactions */ +/* eslint-disable jsx-a11y/click-events-have-key-events */ import { FC, PropsWithChildren } from "react"; -export const Modal: FC = ({ children }) => { +export const Modal: FC< + PropsWithChildren<{ + dismissOnBgClick?: boolean; + onCloseRequest?: () => void; + }> +> = ({ children, onCloseRequest, dismissOnBgClick = true }) => { return ( -
-
-
{children}
+
+
+
+
+
{children}
+
);