Home Reference Source Repository

src/app/component-registry/line-component.js

import { Component } from "../core/models/components/component";
import { ComponentOptions } from "../core/models/components/component-options";
import { LineDrawer } from "../components/line-component/drawers/line-drawer";
class LineComponent extends Component {
  constructor() {
    const options = new ComponentOptions(
      "aa5962d0-8f90-45b3-91db-61e0de6809ae",
      "Line",
      "line"
    );
    super(new LineDrawer(), options);
  }
}

export const lineComponent = new LineComponent();