More typing
This commit is contained in:
@@ -2,7 +2,17 @@ import { Card, Modal } from '@mantine/core';
|
||||
import { useCommonHooks } from 'hooks';
|
||||
import { cardClasses, modalClasses } from 'styles';
|
||||
|
||||
function DeleteItemModal({ modalOpened, handleClose, body, title }: any) {
|
||||
function DeleteItemModal({
|
||||
modalOpened,
|
||||
handleClose,
|
||||
body,
|
||||
title,
|
||||
}: {
|
||||
modalOpened: boolean;
|
||||
handleClose: () => void;
|
||||
body: React.ReactNode;
|
||||
title: string;
|
||||
}) {
|
||||
const { isMobile, modalStyle } = useCommonHooks();
|
||||
return (
|
||||
<Modal.Root
|
||||
|
||||
Reference in New Issue
Block a user