mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-14 22:02:36 +00:00
The lib's AssetMenu (next commit) needs a way to render the host's UploadModal3D from inside its own modal. Following the same slot pattern as renderAssetBrowser/renderSceneLoader, a new renderAssetUploader slot lets the host plug in its file picker + validation + splat conversion UI without the lib pulling in any host-component imports. useTauriPageSceneAdapter wires UploadModal3D into the slot. File renamed to .tsx since the slot returns JSX. Typecheck stays at 58.