1 | import { __rest } from "tslib";
|
2 | import * as React from 'react';
|
3 | import { css } from '@patternfly/react-styles';
|
4 | import styles from '@patternfly/react-styles/css/components/SimpleList/simple-list';
|
5 | export const SimpleListGroup = (_a) => {
|
6 | var { children = null, className = '', title = '', titleClassName = '', id = '' } = _a, props = __rest(_a, ["children", "className", "title", "titleClassName", "id"]);
|
7 | return (React.createElement("section", Object.assign({ className: css(styles.simpleListSection) }, props),
|
8 | React.createElement("h2", { id: id, className: css(styles.simpleListTitle, titleClassName), "aria-hidden": "true" }, title),
|
9 | React.createElement("ul", { className: css(className), "aria-labelledby": id }, children)));
|
10 | };
|
11 | SimpleListGroup.displayName = 'SimpleListGroup';
|
12 |
|
\ | No newline at end of file |