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 { MemoryList } from '@redrob-labs/ui';
| Prop | Type | Notes |
|---|---|---|
items |
MemoryItem[] |
|
readByLabel |
string |
|
editLabel |
React.ReactNode |
|
forgetLabel |
React.ReactNode |
|
className |
string |
|
onEdit |
(item: MemoryItem, index: number) => void |
|
onForget |
(item: MemoryItem, index: number) => void |