UNPKG

lume

Version:

Build next-level interactive web applications.

12 lines (10 loc) 385 B
import type {PointLight, PointLightAttributes} from './PointLight' import type {ReactElementAttributes} from '@lume/element/src/react' // React users can import this to have appropriate types for the element in their JSX markup. declare global { namespace JSX { interface IntrinsicElements { 'lume-point-light': ReactElementAttributes<PointLight, PointLightAttributes> } } }