From 6e253823ba723df1a671f81025bb3a6045196467 Mon Sep 17 00:00:00 2001 From: Walidoux Date: Sun, 23 Apr 2023 20:14:12 +0100 Subject: [PATCH] feat(components/system): implement Window --- src/components/system/Window/Window.tsx | 19 +++++++++++++++++++ src/components/system/Window/index.ts | 1 + 2 files changed, 20 insertions(+) create mode 100644 src/components/system/Window/Window.tsx create mode 100644 src/components/system/Window/index.ts diff --git a/src/components/system/Window/Window.tsx b/src/components/system/Window/Window.tsx new file mode 100644 index 0000000..0b484ba --- /dev/null +++ b/src/components/system/Window/Window.tsx @@ -0,0 +1,19 @@ +import { Fragment } from 'react' + +import { TitleBar } from '../TitleBar' + +interface WindowProps { + children: React.ReactNode +} + +export const Window: React.FC = ({ children }) => { + return ( + + + +
+ {children} +
+
+ ) +} diff --git a/src/components/system/Window/index.ts b/src/components/system/Window/index.ts new file mode 100644 index 0000000..4645aaa --- /dev/null +++ b/src/components/system/Window/index.ts @@ -0,0 +1 @@ +export * from './Window'