Files
new-phone-who-dis/phone/src/ui/components/AppWrapper.tsx
T

24 lines
508 B
TypeScript

import React from 'react';
import { AppWrapperTypes } from '../interface/InterfaceUI';
export const AppWrapper = ({ children, style, handleClickAway, ...props }: AppWrapperTypes) => {
return (
<div
{...props}
style={{
padding: 0,
margin: 0,
width: '100%',
height: '100%',
display: 'flex',
position: 'relative',
flexDirection: 'column',
minHeight: '720px',
...style,
}}
>
{children}
</div>
);
};