Skip to main content

Interface: StandardDataDisplayProperties<TItem>

Defined in: shared/types/componentProps.ts:541

Data display component properties for lists, tables, etc.

Remarksโ€‹

This interface provides a standard template for components that display collections of data.

Hierarchyโ€‹

View Summary

Extendsโ€‹

Type Parametersโ€‹

TItemโ€‹

TItem

Propertiesโ€‹

children?โ€‹

readonly optional children?: ReactNode

Defined in: shared/types/componentProps.ts:36

Component content (text, elements, or other components)

Inherited fromโ€‹

CoreComponentProperties.children


className?โ€‹

readonly optional className?: string

Defined in: shared/types/componentProps.ts:38

Additional CSS classes for styling customization

Inherited fromโ€‹

CoreComponentProperties.className


disabled?โ€‹

readonly optional disabled?: boolean

Defined in: shared/types/componentProps.ts:40

Whether the component is disabled and non-interactive

Inherited fromโ€‹

CoreComponentProperties.disabled


aria-describedby?โ€‹

readonly optional aria-describedby?: string

Defined in: shared/types/componentProps.ts:81

ARIA described-by reference for additional descriptions

Inherited fromโ€‹

AccessibilityProperties.aria-describedby


aria-disabled?โ€‹

readonly optional aria-disabled?: boolean

Defined in: shared/types/componentProps.ts:83

ARIA disabled state for interactive controls that are visually disabled

Inherited fromโ€‹

AccessibilityProperties.aria-disabled


aria-label?โ€‹

readonly optional aria-label?: string

Defined in: shared/types/componentProps.ts:85

ARIA label for screen readers

Inherited fromโ€‹

AccessibilityProperties.aria-label


aria-labelledby?โ€‹

readonly optional aria-labelledby?: string

Defined in: shared/types/componentProps.ts:87

ARIA labelledby reference for complex labeling

Inherited fromโ€‹

AccessibilityProperties.aria-labelledby


aria-level?โ€‹

readonly optional aria-level?: number

Defined in: shared/types/componentProps.ts:89

ARIA heading level for elements using role="heading"

Inherited fromโ€‹

AccessibilityProperties.aria-level


role?โ€‹

readonly optional role?: string

Defined in: shared/types/componentProps.ts:91

Role attribute for semantic meaning

Inherited fromโ€‹

AccessibilityProperties.role


tabIndex?โ€‹

readonly optional tabIndex?: number

Defined in: shared/types/componentProps.ts:93

Tab index for keyboard navigation

Inherited fromโ€‹

AccessibilityProperties.tabIndex


emptyContent?โ€‹

readonly optional emptyContent?: ReactNode

Defined in: shared/types/componentProps.ts:544

Optional empty state content


error?โ€‹

readonly optional error?: string

Defined in: shared/types/componentProps.ts:546

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error state content


itemsโ€‹

readonly items: readonly TItem[]

Defined in: shared/types/componentProps.ts:548

Data items to display


keyExtractor?โ€‹

readonly optional keyExtractor?: (item: TItem, index: number) => string | number

Defined in: shared/types/componentProps.ts:550

Key extractor for React list optimization

Parametersโ€‹

itemโ€‹

TItem

indexโ€‹

number

Returnsโ€‹

string | number


loading?โ€‹

readonly optional loading?: boolean

Defined in: shared/types/componentProps.ts:552

Loading state indicator


renderItemโ€‹

readonly renderItem: (item: TItem, index: number) => ReactNode

Defined in: shared/types/componentProps.ts:554

Render function for individual items

Parametersโ€‹

itemโ€‹

TItem

indexโ€‹

number

Returnsโ€‹

ReactNode