InterfaceTableLoaderProps
Interface: InterfaceTableLoaderProps<T>
Defined in: src/types/shared-components/DataTable/props.ts:42
Props for table loading states and error/empty conditions.
Provides UI customization and state management for loading indicators, error messages, and empty state displays.
Type Parameters
T
T
The type of data for each row in the table
Properties
ariaLabel?
optionalariaLabel:string
Defined in: src/types/shared-components/DataTable/props.ts:50
ARIA label for the loading state
asOverlay?
optionalasOverlay:boolean
Defined in: src/types/shared-components/DataTable/props.ts:48
Whether to render as an overlay
columns
columns:
IColumnDef<T,unknown>[]
Defined in: src/types/shared-components/DataTable/props.ts:44
Array of column definitions to match table structure
emptyComponent?
optionalemptyComponent:ReactNode
Defined in: src/types/shared-components/DataTable/props.ts:60
Custom React component to display when no rows are present
error?
optionalerror:Error
Defined in: src/types/shared-components/DataTable/props.ts:56
Error from the last data fetch operation
errorComponent?
optionalerrorComponent:ReactNode
Defined in: src/types/shared-components/DataTable/props.ts:58
Custom React component to display when an error occurs
loading?
optionalloading:boolean
Defined in: src/types/shared-components/DataTable/props.ts:52
Whether the table is loading initial data
loadingMore?
optionalloadingMore:boolean
Defined in: src/types/shared-components/DataTable/props.ts:54
Whether additional data is currently loading
rows?
optionalrows:number
Defined in: src/types/shared-components/DataTable/props.ts:46
Number of skeleton rows to display