lume
Version:
12 lines (10 loc) • 421 B
TypeScript
import type {RoundedRectangle, RoundedRectangleAttributes} from './RoundedRectangle'
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-rounded-rectangle': ReactElementAttributes<RoundedRectangle, RoundedRectangleAttributes>
}
}
}