platform-bible-react
    Preparing search index...

    Type Alias EmptyStateProps

    Props for EmptyState.

    type EmptyStateProps = {
        className?: string;
        id?: string;
        message: string;
    }
    Index

    Properties

    className?: string

    Optional class name appended to the message element so the caller controls layout (centering, spacing, emphasis).

    id?: string

    Optional data-testid for locating the empty state (e.g. from an e2e test).

    message: string

    Localized message explaining why the region is empty and, ideally, what the user can do next.