@redrob-labs/ui v1.0.2 · Redrob Group Design System 2026

MemoryList

Safeguards · src/components/MemoryList/MemoryList.tsx

Everything the product remembers, each entry editable or removable.

The whole list, in the words it was saved in, with where it came from. Memory nobody can read is memory nobody consented to, and a summary would hide the entry that is wrong.

Forget is on every row, at the same weight as Edit. A locked entry says who can change it rather than showing a disabled button with no explanation.

Import

import { MemoryList } from '@redrob-labs/ui';

Rendered

The design system's own preview case, run against this package's build. The parity gate compares this rendering to the reference bundle's.

Props

PropTypeNotes
items MemoryItem[]
readByLabel string
editLabel React.ReactNode
forgetLabel React.ReactNode
className string
onEdit (item: MemoryItem, index: number) => void
onForget (item: MemoryItem, index: number) => void

Exported types

MemoryItem