aboutsummaryrefslogtreecommitdiff
path: root/src/lib/components/Window/WindowSurface.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/components/Window/WindowSurface.tsx')
-rw-r--r--src/lib/components/Window/WindowSurface.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/components/Window/WindowSurface.tsx b/src/lib/components/Window/WindowSurface.tsx
index aaaa984..701a767 100644
--- a/src/lib/components/Window/WindowSurface.tsx
+++ b/src/lib/components/Window/WindowSurface.tsx
@@ -8,7 +8,6 @@ import { SurfaceSize, SurfacePosition } from './types';
interface PropTypes {
size: SurfaceSize;
position: SurfacePosition;
- children?: any;
}
@@ -27,9 +26,8 @@ const useStyles = makeStyles((theme: any) => ({
}));
-const WindowSurface = (props: PropTypes) => {
+const WindowSurface: React.FC<PropTypes> = ({ size, position, children }) => {
const classes = useStyles();
- const { size, position, children } = props;
return (
<Paper