Docs

List component

A component for rendering lists. expects a path and a render function. the render function receives the collection item as an argument.

Props

NameTypeRequiredDefaultDescription
pathstringthe path of the data in the database.
renderItemfunctionwill be called when the data is available, expects it to return a renderable value. (collectionItem) => ReactNode
lightOverlayboolwill render the edit overlay in alternate colors to support different color schemes.