bimatter-viewer-react 0.5.6 → 0.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,6 +8,8 @@ All about us you can see on our website [Bimatter](https://bimatter.ru/)
8
8
 
9
9
  [GitHub](https://github.com/rkaeplive/bimatter-viewer-react)
10
10
 
11
+ [Documentation](https://rkaeplive.github.io/bimatter-viewer-react/api)
12
+
11
13
  Vanila js viewer core: [bimatter-viewer](https://www.npmjs.com/package/bimatter-viewer?activeTab=code)
12
14
 
13
15
  Write your issuse here: [GitHub](https://github.com/rkaeplive/bimatter-viewer-react/issues)
package/lib/Viewer.d.ts CHANGED
@@ -6,6 +6,7 @@ import { type ViewerModelSource } from "./api/loader";
6
6
  type ModelsData = Record<number, BmtModelData>;
7
7
  export type ViewerModelsData = ModelsData;
8
8
  export type ViewerProps = {
9
+ autoFitCamera?: boolean;
9
10
  camera?: ComponentProps<typeof Canvas>["camera"];
10
11
  dpr?: ComponentProps<typeof Canvas>["dpr"];
11
12
  defaultSelected?: ViewerSelection;