recordOpen
ResourcePage's `detail` or a record open mode, as a record open mode (`none` stays).
packages/ui/src/components/data/resource-view/record-open.tsx
@marktiderman/genesis-ui/dataimport { recordOpen } from "@marktiderman/genesis-ui/data";react-docgen-typescript.resolveRecordOpen
How a record opens here: the screen's choice first, then the view's, then a side peek.
No declared props.
recordViewOf
The record view a peek draws: the screen's, else the one the view names.
No declared props.
ViewRecordPeek
The peek a board or calendar opens: the record view when there is one, else the view's columns in DetailPanel, at the edge (side peek) or centered (center peek).
| Prop | Type | Default | Description |
|---|---|---|---|
| fields* | { key: string; label: string; render?: ((value: unknown, item: T) => ReactNode) | undefined; }[] | — | |
| onClose* | () => void | — | |
| open* | enum | — | |
| recordView* | RecordView<ResourceContract<any>, any> | undefined | — | |
| row* | Row | null | — | |
| view* | ResourceView<ResourceContract<any>, T & DataRow> | — |
detailMode
A record open mode or ResourcePage's `detail`, as ResourcePage's `detail`.
No declared props.
recordOpen
ResourcePage's `detail` or a record open mode, as a record open mode (`none` stays).
No declared props.
DetailMode
ResourcePage's older words for the same choice.
No declared props.