Skip to content

Commit

Permalink
fix: update jsdoc for url props
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaehiel committed Sep 30, 2022
1 parent 6c9f9fb commit 31e2837
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Avatar/Avatar.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,18 @@ export type Emotion = Record<string, number>;
export interface AvatarProps extends LightingProps {
/**
* Path to `.glb` file of the 3D model.
* Can be a relative or absolute URL.
*/
modelUrl: string;
/**
* Path to `.glb` animation file of the 3D model.
* Can be a relative or absolute URL.
*/
animationUrl?: string;
/**
* Path to `.glb` file which will be used to map Bone placements onto the underlying 3D model.
* Applied when not specifying an animation.
* Can be a relative or absolute URL.
*/
poseUrl?: string;
/**
Expand Down
1 change: 1 addition & 0 deletions src/components/Exhibit/Exhibit.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { FloatingModel } from '../Models/FloatingModel';
export interface ExhibitProps extends CameraProps {
/**
* Path to `.glb` file of the 3D model.
* Can be a relative or absolute URL.
*/
modelUrl: string;
/**
Expand Down

0 comments on commit 31e2837

Please sign in to comment.