From 0c3c76efd5181592c3e82d7498ddfbf137b68168 Mon Sep 17 00:00:00 2001 From: chip Date: Sun, 11 Oct 2020 02:12:45 +0200 Subject: [PATCH] Feat(UI): Types added to AppContent & AppWrapper --- phone/src/ui/components/AppContent.tsx | 3 ++- phone/src/ui/components/AppWrapper.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 (