CRUDUI

Home > @polyspec/crudui-generator-core > RenderList

RenderList type

Compose a list specification, evaluate supplied rows and render list HTML. Throws ComposeLoadError when a composition reference cannot be resolved.

Signature:

export type RenderList = (listSpec: Record<string, unknown>, rows?: Array<Record<string, unknown>>, options?: RenderListOptions) => string;

References: RenderListOptions