lincd-design-elems
Version:
15 lines (14 loc) • 528 B
TypeScript
import React from 'react';
import { LinkedComponentClass } from 'lincd/lib/utils/LinkedComponentClass';
import { NodeSet } from 'lincd/lib/collections/NodeSet';
import { Shape } from 'lincd/lib/shapes/Shape';
/**
* @description Shows a set of gives nodes as a list. Each node will be rendered with the provided component or render method.
*/
export declare class List extends LinkedComponentClass<Shape, {
sources: NodeSet;
children?: any;
renderItem?: (item: Node) => any;
}> {
render(): React.JSX.Element;
}