components/data-list
Type Aliases
Section titled “Type Aliases”DataListProps
Section titled “DataListProps”DataListProps =
HTMLAttributes<HTMLUListElement> > &object
Props accepted by DataList.
Type Declaration
Section titled “Type Declaration”density?
Section titled “density?”
optionaldensity?:"regular"|"compact"
DataListHeadingProps
Section titled “DataListHeadingProps”DataListHeadingProps =
HTMLAttributes<HTMLHeadingElement> > &object
Props accepted by DataListHeading.
Type Declaration
Section titled “Type Declaration”level?
Section titled “level?”
optionallevel?:2|3
Heading level; the host keeps its document outline.
aside?
Section titled “aside?”
optionalaside?:ReactNode
Optional trailing count or status, such as a Badge.
Variables
Section titled “Variables”DataList
Section titled “DataList”
constDataList:ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> > &object&RefAttributes<HTMLUListElement>>>>
A list wrapper for caller-provided rows.
DataRow
Section titled “DataRow”
constDataRow:ForwardRefExoticComponent<LiHTMLAttributes<HTMLLIElement> > &RefAttributes<HTMLLIElement>>>>
A list row for a caller-provided label and value.
DataListHeading
Section titled “DataListHeading”
constDataListHeading:ForwardRefExoticComponent<HTMLAttributes<HTMLHeadingElement> > &object&RefAttributes<HTMLHeadingElement>>>>
A quiet small-caps section label that groups the rows below it.