Docs

WithValue component

A components for rendering any value, expects a path and a render function. the render function receives the value as an argument.

Props

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