import * as React from 'react'; import { css } from '@breakaway/react-styles'; import styles from '@breakaway/react-styles/css/components/EmptyState/empty-state'; export enum EmptyStateVariant { 'xs' = 'xs', small = 'small', large = 'large', 'xl' = 'xl', full = 'full' } export interface EmptyStateProps extends React.HTMLProps { /** Additional classes added to the EmptyState */ className?: string; /** Content rendered inside the EmptyState */ children: React.ReactNode; /** Modifies EmptyState max-width */ variant?: 'xs' | 'small' | 'large' | 'xl' | 'full'; /** Cause component to consume the available height of its container */ isFullHeight?: boolean; } export const EmptyState: React.FunctionComponent = ({ children, className = '', variant = EmptyStateVariant.full, isFullHeight, ...props }: EmptyStateProps) => (
{children}
); EmptyState.displayName = 'EmptyState';