Skip to main content
Some frameworks, like React and Vue, don’t support custom HTML elements out of the box.
To allow a smooth integration in a TypeScript project, our library exports the types for the components names and props in the @nebuly-ai/reports/web package.

React

In order to use the components as JSX elements, you need to define the types in the JSX namespace extending the IntrinsicElements interface.

Vue

In order to use the components as Vue components, you need to define them extending the GlobalComponents interface.

Angular, Svelte and other frameworks that support raw HTML templates

These frameworks don’t require any special setup to use the components since templates are raw HTML.