1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.SimpleListGroup = void 0;
|
4 | const tslib_1 = require("tslib");
|
5 | const React = tslib_1.__importStar(require("react"));
|
6 | const react_styles_1 = require("@patternfly/react-styles");
|
7 | const simple_list_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/SimpleList/simple-list"));
|
8 | const SimpleListGroup = (_a) => {
|
9 | var { children = null, className = '', title = '', titleClassName = '', id = '' } = _a, props = tslib_1.__rest(_a, ["children", "className", "title", "titleClassName", "id"]);
|
10 | return (React.createElement("section", Object.assign({ className: react_styles_1.css(simple_list_1.default.simpleListSection) }, props),
|
11 | React.createElement("h2", { id: id, className: react_styles_1.css(simple_list_1.default.simpleListTitle, titleClassName), "aria-hidden": "true" }, title),
|
12 | React.createElement("ul", { className: react_styles_1.css(className), "aria-labelledby": id }, children)));
|
13 | };
|
14 | exports.SimpleListGroup = SimpleListGroup;
|
15 | exports.SimpleListGroup.displayName = 'SimpleListGroup';
|
16 |
|
\ | No newline at end of file |