Files
bytedance--flowgram.ai/apps/docs/components/fixed-examples/step-7/app.tsx
T
wehub-resource-sync 0232b4e2bb
CI / build (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:09:51 +08:00

26 lines
630 B
TypeScript

/**
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
* SPDX-License-Identifier: MIT
*/
import '@flowgram.ai/fixed-layout-editor/index.css';
import { FixedLayoutEditorProvider, EditorRenderer } from '@flowgram.ai/fixed-layout-editor';
import { useEditorProps } from './use-editor-props';
import { Tools } from './tools';
import { Minimap } from './minimap';
const FlowGramApp = () => {
const editorProps = useEditorProps();
return (
<FixedLayoutEditorProvider {...editorProps}>
<EditorRenderer />
<Tools />
<Minimap />
</FixedLayoutEditorProvider>
);
};
export default FlowGramApp;