diff --git a/phone/src/ui/components/AppContent.tsx b/phone/src/ui/components/AppContent.tsx index 570f5e2..d2181a7 100644 --- a/phone/src/ui/components/AppContent.tsx +++ b/phone/src/ui/components/AppContent.tsx @@ -1,5 +1,6 @@ import React from "react"; import { Box, makeStyles, Backdrop, Paper } from "@material-ui/core"; +import { AppContentTypes } from '../interface/InterfaceUI'; const useStyles = makeStyles((theme) => ({ wrapper: { @@ -28,7 +29,7 @@ export const AppContent = ({ backdrop, onClickBackdrop, ...props -}) => { +}: AppContentTypes) => { const classes = useStyles(); return ( diff --git a/phone/src/ui/components/AppWrapper.tsx b/phone/src/ui/components/AppWrapper.tsx index b6ecaba..92a5e45 100644 --- a/phone/src/ui/components/AppWrapper.tsx +++ b/phone/src/ui/components/AppWrapper.tsx @@ -1,6 +1,7 @@ import React from "react"; +import { AppWrapperTypes } from '../interface/InterfaceUI'; -export const AppWrapper = ({ children, style, handleClickAway, ...props }) => { +export const AppWrapper = ({ children, style, handleClickAway, ...props }: AppWrapperTypes) => { return (