import * as React from 'react'; import GGEditor, { Mind, RegisterNode } from 'gg-editor'; import { MindData } from 'gg-editor/lib/common/interfaces'; const data: MindData = { id: "1", label: 'Central Topic111', children: [ { id: "2", label: 'Main Topic 1', }, { id: "3", label: 'Main Topic 2', }, { id: "4", label: 'Main Topic 3', }, ], }; export default class Hello extends React.Component { render() { return ( ); } } function getExclamationMarks(numChars: number) { return Array(numChars + 1).join('!'); }