UNPKG

@limitless-angular/sanity

Version:

A powerful Angular library for Sanity.io integration, featuring Portable Text rendering and optimized image loading.

14 lines (13 loc) 928 B
import { TemplateRef } from '@angular/core'; import { TemplateContext, PortableTextListBlock } from '../types'; import { trackBy } from '../utils'; import * as i0 from "@angular/core"; export declare class ListComponent { template: import("@angular/core").Signal<TemplateRef<TemplateContext<import("@portabletext/toolkit").ToolkitPortableTextList>>>; missingHandler: import("../types").MissingComponentHandler; handleMissingComponent(node: PortableTextListBlock): void; protected getChildNode(child: PortableTextListBlock['children'][0], index: number): import("@portabletext/toolkit").ToolkitPortableTextDirectList | import("@portabletext/toolkit").ToolkitPortableTextListItem; protected readonly trackBy: typeof trackBy; static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "lib-list", never, {}, {}, never, never, true, never>; }