From 4b9290636f905551db35b48139c42f89234d98eb Mon Sep 17 00:00:00 2001 From: Walidoux Date: Sun, 23 Apr 2023 20:14:05 +0100 Subject: [PATCH] feat(components/system): implement TitleBar --- src/components/system/TitleBar/TitleBar.tsx | 40 +++++++++++++++++++++ src/components/system/TitleBar/index.ts | 1 + 2 files changed, 41 insertions(+) create mode 100644 src/components/system/TitleBar/TitleBar.tsx create mode 100644 src/components/system/TitleBar/index.ts diff --git a/src/components/system/TitleBar/TitleBar.tsx b/src/components/system/TitleBar/TitleBar.tsx new file mode 100644 index 0000000..e5f5042 --- /dev/null +++ b/src/components/system/TitleBar/TitleBar.tsx @@ -0,0 +1,40 @@ +import { Maximize, Minus, X } from 'react-feather' +import { appWindow } from '@tauri-apps/api/window' + +import { Image } from '..' + +export const TitleBar: React.FC = () => { + return ( + + ) +} diff --git a/src/components/system/TitleBar/index.ts b/src/components/system/TitleBar/index.ts new file mode 100644 index 0000000..259755c --- /dev/null +++ b/src/components/system/TitleBar/index.ts @@ -0,0 +1 @@ +export * from './TitleBar'