diff options
Diffstat (limited to 'frontend/src/components/LegacyPlugin.tsx')
| -rw-r--r-- | frontend/src/components/LegacyPlugin.tsx | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/frontend/src/components/LegacyPlugin.tsx b/frontend/src/components/LegacyPlugin.tsx index 86abf2c8..40f9e85f 100644 --- a/frontend/src/components/LegacyPlugin.tsx +++ b/frontend/src/components/LegacyPlugin.tsx @@ -1,13 +1,21 @@ -import React from "react" +import { VFC } from 'react'; -class LegacyPlugin extends React.Component { - constructor(props: object) { - super(props); - } +// 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> - } +// render() { +// return <iframe style={{ border: 'none', width: '100%', height: '100%' }} src={this.props.url}></iframe> +// } +// } + +interface Props { + url: string; } -export default LegacyPlugin;
\ No newline at end of file +const LegacyPlugin: VFC<Props> = () => { + return <div>LegacyPlugin Hello World</div>; +}; + +export default LegacyPlugin; |
