import * as React from 'react'; import styles from '@patternfly/react-styles/css/components/Login/login'; import { css } from '@patternfly/react-styles'; export interface LoginProps extends React.HTMLProps { /** Content rendered inside the main section of the login layout */ children?: React.ReactNode; /** Additional classes added to the login layout */ className?: string; /** Footer component (e.g. ) */ footer?: React.ReactNode; /** Header component (e.g. ) */ header?: React.ReactNode; } export const Login: React.FunctionComponent = ({ className = '', children = null, footer = null, header = null, ...props }: LoginProps) => (
{header}
{children}
{footer}
); Login.displayName = 'Login';