@neurodyn/react-model-viewer 0.0.0-canary-20260604101212
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/dist/index.d.ts +33 -0
- package/dist/index.js +7316 -0
- package/package.json +67 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
import type { default as React_2 } from 'react';
|
|
4
|
+
import * as React_3 from 'react';
|
|
5
|
+
|
|
6
|
+
declare type DialogProps = React_3.ComponentProps<typeof DialogPrimitive.Root>
|
|
7
|
+
|
|
8
|
+
export declare function ModelViewer({ tinuuid, hid, layout, background, className, ...props }: ModelViewerProps & React_2.ComponentProps<'div'>): JSX.Element;
|
|
9
|
+
|
|
10
|
+
declare type ModelViewerBackground = 'default' | 'transparent';
|
|
11
|
+
|
|
12
|
+
export declare function ModelViewerDialog({ tinuuid, hid, ...props }: ModelViewerDialogProps): JSX.Element;
|
|
13
|
+
|
|
14
|
+
declare interface ModelViewerDialogProps extends Pick<ModelViewerRootProps, 'tinuuid' | 'hid'>, Omit<DialogProps, 'children'> {
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare type ModelViewerLayout = 'default' | 'model';
|
|
18
|
+
|
|
19
|
+
export declare interface ModelViewerProps extends ModelViewerRootProps {
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare interface ModelViewerRootProps {
|
|
23
|
+
/** The unique identifier of a Vizbl object. */
|
|
24
|
+
tinuuid: string;
|
|
25
|
+
/** The identifier of a material variant. */
|
|
26
|
+
hid?: string | null;
|
|
27
|
+
/** Controls which viewer UI elements are shown. */
|
|
28
|
+
layout?: ModelViewerLayout;
|
|
29
|
+
/** Controls the viewer container background. */
|
|
30
|
+
background?: ModelViewerBackground;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { }
|