import React from 'react'; import type { EmptyStateProps } from '../../../../types/empty-state'; import { Button } from '../../../button/public'; import { Card } from '../../../card/public'; import { View } from '../../../layout/public'; import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope'; function EmptyStateInner({ themeId: _themeId, mode: _mode, interactionPolicy, title, description, eyebrow, primaryAction, secondaryAction, footer, testID, }: EmptyStateProps) { return ( {primaryAction || secondaryAction ? ( {primaryAction ? ( ) : null} {secondaryAction ? ( ) : null} ) : null} {footer} ); } /*** * Reusable fallback state for empty lists, missing data, or first-run experiences. * * `EmptyState` combines concise copy with optional primary and secondary actions * so apps can guide users without custom card and button wiring. * * @example Empty project list * ```tsx * * ``` */ export const EmptyState = withZoraThemeScope(EmptyStateInner);