UNPKG

lume

Version:

Build next-level interactive web applications.

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