Debian Codegraph @

node/@patternfly/react-core/src/components/JumpLinks/JumpLinksList.tsx

raw
1 import { css } from '@patternfly/react-styles';
2 import styles from '@patternfly/react-styles/css/components/JumpLinks/jump-links';
3
4 export interface JumpLinksListProps extends React.HTMLProps<HTMLUListElement> {
5 /** Text to be rendered inside span */
6 children?: React.ReactNode;
7 /** Classname to add to ul. */
8 className?: string;
9 }
10
11 export const JumpLinksList: React.FunctionComponent<JumpLinksListProps> = ({
12 children,
13 className,
14 ...props
15 }: JumpLinksListProps) => (
16 <ul className={css(styles.jumpLinksList, className)} role="list" {...props}>
17 {children}
18 </ul>
19 );
20 JumpLinksList.displayName = 'JumpLinksList';