Skip to main content

InterfaceEmptyStateProps

Admin Docs


Interface: InterfaceEmptyStateProps

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

Props interface for the EmptyState component.

InterfaceEmptyStateProps

Properties

action?

optional action: object

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

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:36

Custom CSS class name.


dataTestId?

optional dataTestId: string

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

Test identifier.


description?

optional description: string

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

Optional secondary description text.


icon?

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

Required