diff --git a/src/components/Exhibit/Exhibit.component.tsx b/src/components/Exhibit/Exhibit.component.tsx index 96da0732..a4a86e9d 100644 --- a/src/components/Exhibit/Exhibit.component.tsx +++ b/src/components/Exhibit/Exhibit.component.tsx @@ -12,7 +12,7 @@ export interface ExhibitProps extends CameraProps, EnvironmentProps { /** * Arbitrary binary data (base64 string | Blob) of a `.glb` file or path (URL) to a `.glb` resource. */ - modelSrc: string; + modelSrc: string | Blob; /** * Size of the rendered GLB model. */ diff --git a/src/components/Models/FloatingModel/FloatingModel.component.tsx b/src/components/Models/FloatingModel/FloatingModel.component.tsx index 49553c1a..e556563a 100644 --- a/src/components/Models/FloatingModel/FloatingModel.component.tsx +++ b/src/components/Models/FloatingModel/FloatingModel.component.tsx @@ -6,7 +6,7 @@ import { useGltfLoader } from 'src/services'; import { BaseModelProps } from 'src/types'; export interface FloatingModelProps extends BaseModelProps { - modelSrc: string; + modelSrc: string | Blob; scale?: number; }