From 4b923c1dc70eaa4a3ca58d9e9f3218785b2fe919 Mon Sep 17 00:00:00 2001
From: marios <marios8543@gmail.com>
Date: Thu, 26 May 2022 04:00:18 +0300
Subject: display overhaul, compatibility with legacy plugins, fixes

---
 frontend/src/components/LegacyPlugin.tsx | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 frontend/src/components/LegacyPlugin.tsx

(limited to 'frontend/src/components/LegacyPlugin.tsx')

diff --git a/frontend/src/components/LegacyPlugin.tsx b/frontend/src/components/LegacyPlugin.tsx
new file mode 100644
index 00000000..86abf2c8
--- /dev/null
+++ b/frontend/src/components/LegacyPlugin.tsx
@@ -0,0 +1,13 @@
+import React from "react"
+
+class LegacyPlugin extends React.Component {
+    constructor(props: object) {
+        super(props);
+    }
+
+    render() {
+        return <iframe style={{ border: 'none', width: '100%', height: '100%' }} src={this.props.url}></iframe>
+    }
+}
+
+export default LegacyPlugin;
\ No newline at end of file
-- 
cgit v1.2.3

