DetailViewProps
DetailViewProps<
T> =object
Defined in: packages/ui/src/types.ts:633
Props for the DetailView composite component.
Displays a single record’s fields in a two-column grid with a permission-aware
action toolbar. Fields render using the appropriate TypedField component
(DateFieldProps, BooleanFieldProps, etc.) based on the Drizzle
column type. Override individual fields with custom render functions.
- ColumnShorthand for field configuration options.
- ListViewProps for the multi-record counterpart.
Type Parameters
Section titled “Type Parameters”T = unknown
The record object type for type-safe field rendering.
Properties
Section titled “Properties”actions?
Section titled “actions?”
optionalactions:ClientDescriptor
Defined in: packages/ui/src/types.ts:645
Action descriptor for the action toolbar.
breadcrumb?
Section titled “breadcrumb?”
optionalbreadcrumb:BreadcrumbItem[]
Defined in: packages/ui/src/types.ts:647
Breadcrumb trail items.
exclude?
Section titled “exclude?”
optionalexclude:string[]
Defined in: packages/ui/src/types.ts:643
Field keys to exclude from display.
fields?
Section titled “fields?”
optionalfields:ColumnShorthand<T>[]
Defined in: packages/ui/src/types.ts:641
Field definitions or key strings. If omitted, fields are inferred from the record.
record
Section titled “record”record:
T
Defined in: packages/ui/src/types.ts:639
The record object to display.
table?
Section titled “table?”
optionaltable:unknown
Defined in: packages/ui/src/types.ts:637
Drizzle table for field type inference.
title:
string
Defined in: packages/ui/src/types.ts:635
Page title, typically the record’s display name.