/**
* A simple component to render a code editor within the textarea
* this exists upon.
- * @extends {Component}
*/
-class CodeTextarea {
+import {Component} from "./component";
+
+export class CodeTextarea extends Component {
async setup() {
const mode = this.$opts.mode;
Code.inlineEditor(this.$el, mode);
}
-}
-
-export default CodeTextarea;
\ No newline at end of file
+}
\ No newline at end of file