| 1 |
import styles from '@patternfly/react-styles/css/components/Login/login'; |
| 2 |
import { css } from '@patternfly/react-styles'; |
| 3 |
|
| 4 |
export interface LoginMainFooterLinksItemProps extends React.HTMLProps<HTMLLIElement> { |
| 5 |
/** Content rendered inside the footer link item */ |
| 6 |
children?: React.ReactNode; |
| 7 |
/** Additional classes added to the footer link item */ |
| 8 |
className?: string; |
| 9 |
} |
| 10 |
|
| 11 |
export const LoginMainFooterLinksItem: React.FunctionComponent<LoginMainFooterLinksItemProps> = ({ |
| 12 |
children = null, |
| 13 |
className = '', |
| 14 |
...props |
| 15 |
}: LoginMainFooterLinksItemProps) => ( |
| 16 |
<li className={css(styles.loginMainFooterLinksItem, className)} {...props}> |
| 17 |
{children} |
| 18 |
</li> |
| 19 |
); |
| 20 |
LoginMainFooterLinksItem.displayName = 'LoginMainFooterLinksItem'; |