Generic interface for a component (Astro, Svelte, React, etc.)

interface ComponentInstance {
    css?: string[];
    default: AstroComponentFactory;
    getStaticPaths?: ((options) => GetStaticPathsResult);
    partial?: boolean;
    prerender?: boolean;
}

Properties

css?: string[]
getStaticPaths?: ((options) => GetStaticPathsResult)

Type declaration

partial?: boolean
prerender?: boolean