InterfaceEmptyStateProps
Interface: InterfaceEmptyStateProps
Defined in: src/types/shared-components/EmptyState/interface.ts:4
Props interface for the EmptyState component.
Properties
action?
optionalaction:object
Defined in: src/types/shared-components/EmptyState/interface.ts:23
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:32
Custom CSS class name.
dataTestId?
optionaldataTestId:string
Defined in: src/types/shared-components/EmptyState/interface.ts:37
Test identifier.
description?
optionaldescription:string
Defined in: src/types/shared-components/EmptyState/interface.ts:13
(Optional) Secondary description text.
icon?
optionalicon:ReactNode
Defined in: src/types/shared-components/EmptyState/interface.ts:18
Icon to display above the message.
message
message:
string
Defined in: src/types/shared-components/EmptyState/interface.ts:8
Primary message to display (i18n key or plain string) (Required).