index.tsx 587 B

1234567891011121314151617181920212223
  1. /**
  2. * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
  3. * SPDX-License-Identifier: MIT
  4. */
  5. import '@flowgram.ai/free-layout-editor/index.css';
  6. import { FreeLayoutEditorProvider, EditorRenderer } from '@flowgram.ai/free-layout-editor';
  7. import './index.less';
  8. import { useEditorProps } from './use-editor-props';
  9. export const FlowGramLogo = () => {
  10. const editorProps = useEditorProps();
  11. return (
  12. <div className="flowgram-logo-container">
  13. <FreeLayoutEditorProvider {...editorProps}>
  14. <EditorRenderer />
  15. </FreeLayoutEditorProvider>
  16. </div>
  17. );
  18. };