mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
24 lines
508 B
TypeScript
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>
|
|
);
|
|
};
|