Debian Codegraph @

node/@patternfly/react-core/src/components/LoginPage/LoginFooter.tsx

raw
1 import styles from '@patternfly/react-styles/css/components/Login/login';
2 import { css } from '@patternfly/react-styles';
3
4 export interface LoginFooterProps extends React.HTMLProps<HTMLElement> {
5 /** Content rendered inside the footer of the login layout */
6 children?: React.ReactNode;
7 /** Additional props are spread to the container <footer> */
8 className?: string;
9 }
10
11 export const LoginFooter: React.FunctionComponent<LoginFooterProps> = ({
12 className = '',
13 children = null,
14 ...props
15 }: LoginFooterProps) => (
16 <footer className={css(styles.loginFooter, className)} {...props}>
17 {children}
18 </footer>
19 );
20 LoginFooter.displayName = 'LoginFooter';