UNPKG

lume

Version:

Build next-level interactive web applications.

13 lines (11 loc) 449 B
import type {Torus, TorusAttributes} from './Torus' import type {ReactElementAttributes} from '@lume/element/src/react' import type {PhongMaterialBehavior, PhongMaterialBehaviorAttributes} from '../behaviors/index' // React users can import this to have appropriate types for the element in their JSX markup. declare global { namespace JSX { interface IntrinsicElements { 'lume-torus': ReactElementAttributes<Torus, TorusAttributes> } } }