CRUD / foldkit-mixins-crud

RowListView

namespace · packages/mixins-crud/src/index.ts:563

const RowListView = { forMessages }

In the guides

Members

RowListView.forMessages

function · packages/mixins-crud/src/index.ts:401

forMessages<Message>(): {
  define: <Row>(listed: {
    readonly name: string
  }) => SlotView.SlotView<
    typeof RowListSlots,
    RowListInput<Row, Message>,
    Message
  >
}

A list drawn as ul/li rows: RowListView.forMessages<Message>().define(Pages). The row drawing comes from the input; this carries the list's state contract.