UNPKG

lume

Version:

Build next-level interactive web applications.

26 lines 1.07 kB
import { type ElementAttributes } from '@lume/element'; import { Mesh, type MeshAttributes } from './Mesh.js'; import type { ElementWithBehaviors } from '../behaviors/ElementWithBehaviors.js'; import type { RoundedRectangleGeometryBehavior, RoundedRectangleGeometryBehaviorAttributes } from '../behaviors/index.js'; export type RoundedRectangleAttributes = MeshAttributes | RoundedRectangleGeometryBehaviorAttributes; export declare class RoundedRectangle extends Mesh { initialBehaviors: { geometry: string; material: string; }; } export interface RoundedRectangle extends ElementWithBehaviors<RoundedRectangleGeometryBehavior, RoundedRectangleGeometryBehaviorAttributes> { } declare module 'solid-js' { namespace JSX { interface IntrinsicElements { 'lume-rounded-rectangle': ElementAttributes<RoundedRectangle, RoundedRectangleAttributes>; } } } declare global { interface HTMLElementTagNameMap { 'lume-rounded-rectangle': RoundedRectangle; } } //# sourceMappingURL=RoundedRectangle.d.ts.map