From 783a0d99b6f1e06c3655f2b17069b908dadf8df7 Mon Sep 17 00:00:00 2001 From: Josue Date: Mon, 5 Jul 2021 18:06:59 -0400 Subject: [PATCH] refactor: create component for preview and move display views to their own directory --- striker-ui/components/Display/Preview.tsx | 20 ++++++++++++++++++++ striker-ui/components/Display/index.tsx | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 striker-ui/components/Display/Preview.tsx create mode 100644 striker-ui/components/Display/index.tsx diff --git a/striker-ui/components/Display/Preview.tsx b/striker-ui/components/Display/Preview.tsx new file mode 100644 index 00000000..66e46c51 --- /dev/null +++ b/striker-ui/components/Display/Preview.tsx @@ -0,0 +1,20 @@ +import VncDisplay from 'react-vnc-display'; +import { Panel } from '../Panels'; +import { HeaderText } from '../Text'; + +const Display = (): JSX.Element => { + return ( + + + + + ); +}; + +export default Display; diff --git a/striker-ui/components/Display/index.tsx b/striker-ui/components/Display/index.tsx new file mode 100644 index 00000000..7a7326da --- /dev/null +++ b/striker-ui/components/Display/index.tsx @@ -0,0 +1,4 @@ +import FullSize from './FullSize'; +import Preview from './Preview'; + +export { FullSize, Preview };