summaryrefslogtreecommitdiff
path: root/frontend/src/components/LegacyPlugin.tsx
diff options
context:
space:
mode:
authormarios <marios8543@gmail.com>2022-05-26 04:00:18 +0300
committermarios <marios8543@gmail.com>2022-05-26 04:00:18 +0300
commit4b923c1dc70eaa4a3ca58d9e9f3218785b2fe919 (patch)
tree3394a7e752b61bdfa16b1a7f50842c4e1dbc0972 /frontend/src/components/LegacyPlugin.tsx
parent74438a31458af8bddd08d90eacc6d63677bab844 (diff)
downloaddecky-loader-4b923c1dc70eaa4a3ca58d9e9f3218785b2fe919.tar.gz
decky-loader-4b923c1dc70eaa4a3ca58d9e9f3218785b2fe919.zip
display overhaul, compatibility with legacy plugins, fixes
Diffstat (limited to 'frontend/src/components/LegacyPlugin.tsx')
-rw-r--r--frontend/src/components/LegacyPlugin.tsx13
1 files changed, 13 insertions, 0 deletions
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