import { ToolcraftApp } from "@repo/toolcraft-runtime/react";

import { starterComposition } from "../app/starter-composition";

export function StarterHome(): React.JSX.Element {
  return (
    <ToolcraftApp
      canvasContent={starterComposition.canvasContent}
      className="h-dvh min-h-dvh"
      controlRenderers={starterComposition.controlRenderers}
      exportRenderer={starterComposition.exportRenderer}
      infiniteCanvasContent={starterComposition.infiniteCanvasContent}
      modelPresentation={starterComposition.modelPresentation}
      onPanelAction={starterComposition.onPanelAction}
      renderDefaultCanvasMedia={starterComposition.renderDefaultCanvasMedia}
      rendererPipelineRegistration={starterComposition.rendererPipelineRegistration}
      sceneBoundsProvider={starterComposition.sceneBoundsProvider}
      schema={starterComposition.schema}
    />
  );
}
