Home Reference Source Repository

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

import { Component } from "../core/models/components/component";
import { ComponentOptions } from "../core/models/components/component-options";
import { PointDrawer } from "../components/point-component/drawers/point-drawer";
class PointComponent extends Component {
  constructor() {
    const options = new ComponentOptions(
      "3c36afc9b5624ea4b05bdc9fb9912ebe",
      "Point",
      "point"
    );
    super(new PointDrawer(), options);
  }
}

export const pointComponent = new PointComponent();