Debian Codegraph @

node/@patternfly/react-core/src/components/DescriptionList/DescriptionListGroup.tsx

raw
1 import styles from '@patternfly/react-styles/css/components/DescriptionList/description-list';
2 import { css } from '@patternfly/react-styles';
3
4 export interface DescriptionListGroupProps extends React.HTMLProps<HTMLDivElement> {
5 /** Any elements that can be rendered in the list group */
6 children?: any;
7 /** Additional classes added to the DescriptionListGroup */
8 className?: string;
9 }
10
11 export const DescriptionListGroup: React.FunctionComponent<DescriptionListGroupProps> = ({
12 className,
13 children,
14 ...props
15 }: DescriptionListGroupProps) => (
16 <div className={css(styles.descriptionListGroup, className)} {...props}>
17 {children}
18 </div>
19 );
20
21 DescriptionListGroup.displayName = 'DescriptionListGroup';