MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / EntityListProps

Interface EntityListProps

src/components/entity-components.tsx:243–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241};
242
243interface EntityListProps<T> {
244 items: T[];
245 renderItem: (item: T, index: number) => React.ReactNode;
246 getKey?: (item: T, index: number) => string | number;
247 emptyView?: React.ReactNode;
248 className?: string;
249};
250
251export function EntityList<T>({
252 items,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected