mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
28 lines
488 B
TypeScript
28 lines
488 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",
|
|
...style,
|
|
}}
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|