import * as React from 'react'; import { Title, TitleSizes } from '../Title'; import { css } from '@patternfly/react-styles'; import styles from '@patternfly/react-styles/css/components/Login/login'; export interface LoginMainHeaderProps extends React.HTMLProps { /** Content rendered inside the login main header */ children?: React.ReactNode; /** Additional classes added to the login main header */ className?: string; /** Title for the login main header */ title?: string; /** Subtitle that contains the text, URL, and URL text for the login main header */ subtitle?: string; /** Actions that render for the login main header */ headerUtilities?: React.ReactNode; } export const LoginMainHeader: React.FunctionComponent = ({ children = null, className = '', title = '', subtitle = '', headerUtilities = null, ...props }: LoginMainHeaderProps) => (
{title && ( )} {subtitle &&

{subtitle}

} {headerUtilities &&
{headerUtilities}
} {children}
); LoginMainHeader.displayName = 'LoginMainHeader';