import * as React from 'react'; import { css } from '@patternfly/react-styles'; import styles from '@patternfly/react-styles/css/components/Backdrop/backdrop'; export interface BackdropProps extends React.HTMLProps { /** Content rendered inside the backdrop */ children?: React.ReactNode; /** Additional classes added to the backdrop */ className?: string; } export const Backdrop: React.FunctionComponent = ({ children = null, className = '', ...props }: BackdropProps) => (
{children}
); Backdrop.displayName = 'Backdrop';