22 lines
629 B
TypeScript
22 lines
629 B
TypeScript
// app/globals.d.ts
|
|
|
|
import * as React from 'react';
|
|
|
|
declare global {
|
|
namespace JSX {
|
|
interface IntrinsicElements {
|
|
'model-viewer': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
|
|
src?: string;
|
|
poster?: string;
|
|
'ios-src'?: string;
|
|
reveal?: string;
|
|
'shadow-intensity'?: string | number;
|
|
ar?: boolean;
|
|
'camera-controls'?: boolean;
|
|
'touch-action'?: string;
|
|
alt?: string;
|
|
class?: string;
|
|
};
|
|
}
|
|
}
|
|
} |