CRUD / foldkit-mixins-crud

DisplayRenderers

type · packages/mixins-crud/src/index.ts:50

type DisplayRenderers<Message> = Readonly<
  Record<string, (context: DisplayContext<Message>) => Html>
>

Renderers by the kind of Display they draw. A kind with none says its text (Display.show), so this is how a badge, a link, or a relative date is drawn wherever that kind appears, in any list or detail.