Skip to main content
Glama
deleonio
by deleonio
functional-component-rendering.ts414 B
import type { FunctionalComponent } from '@stencil/core'; import { newSpecPage, type SpecPage } from '@stencil/core/testing'; import { TestComponent } from './test.component'; export function renderFunctionalComponentToSpecPage<T extends object>(componentConstructor: () => FunctionalComponent<T>): Promise<SpecPage> { return newSpecPage({ components: [TestComponent], template: componentConstructor, }); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deleonio/public-ui-kolibri'

If you have feedback or need assistance with the MCP directory API, please join our Discord server