import * as React from 'react'; import { css } from '@patternfly/react-styles'; import styles from '@patternfly/react-styles/css/components/EmptyState/empty-state'; export enum EmptyStateVariant { 'xs' = 'xs', sm = 'sm', lg = 'lg', 'xl' = 'xl', full = 'full' } export interface EmptyStateProps extends React.HTMLProps { /** Additional classes added to the empty state */ className?: string; /** Content rendered inside the empty state */ children: React.ReactNode; /** Modifies empty state max-width and sizes of icon, title and body */ variant?: 'xs' | 'sm' | 'lg' | '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';