step-1.tsx 443 B

123456789101112131415
  1. import '@flowgram.ai/fixed-layout-editor/index.css';
  2. import { defaultFixedSemiMaterials } from '@flowgram.ai/fixed-semi-materials';
  3. import { FixedLayoutEditorProvider, EditorRenderer } from '@flowgram.ai/fixed-layout-editor';
  4. const FlowGramApp = () => (
  5. <FixedLayoutEditorProvider
  6. materials={{
  7. components: defaultFixedSemiMaterials,
  8. }}
  9. >
  10. <EditorRenderer />
  11. </FixedLayoutEditorProvider>
  12. );
  13. export default FlowGramApp;