InterfaceEmptyStateProps
Interface: InterfaceEmptyStateProps
Defined in: src/types/shared-components/EmptyState/interface.ts:7
Props interface for the EmptyState component.
InterfaceEmptyStateProps
Properties
action?
optionalaction:object
Defined in: src/types/shared-components/EmptyState/interface.ts:27
Action button configuration.
label
label:
string
onClick()
onClick: () =>
void
Returns
void
variant?
optionalvariant:"primary"|"secondary"|"outlined"
className?
optionalclassName:string
Defined in: src/types/shared-components/EmptyState/interface.ts:36
Custom CSS class name.
dataTestId?
optionaldataTestId:string
Defined in: src/types/shared-components/EmptyState/interface.ts:41
Test identifier.
description?
optionaldescription:string
Defined in: src/types/shared-components/EmptyState/interface.ts:17
Optional secondary description text.
icon?
optionalicon:ReactNode
Defined in: src/types/shared-components/EmptyState/interface.ts:22
Icon to display above the message.
message
message:
string
Defined in: src/types/shared-components/EmptyState/interface.ts:12
Primary message to display (i18n key or plain string).