Skip to main content

InterfaceEmptyStateProps

Admin Docs


Interface: InterfaceEmptyStateProps

Defined in: src/types/shared-components/EmptyState/interface.ts:4

Props interface for the EmptyState component.

Properties

action?

optional action: object

Defined in: src/types/shared-components/EmptyState/interface.ts:23

Action button configuration.

label

label: string

onClick()

onClick: () => void

Returns

void

variant?

optional variant: "primary" | "secondary" | "outlined"


className?

optional className: string

Defined in: src/types/shared-components/EmptyState/interface.ts:32

Custom CSS class name.


dataTestId?

optional dataTestId: string

Defined in: src/types/shared-components/EmptyState/interface.ts:37

Test identifier.


description?

optional description: string

Defined in: src/types/shared-components/EmptyState/interface.ts:13

(Optional) Secondary description text.


icon?

optional icon: 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).