1 | import { __rest } from "tslib";
|
2 | import * as React from 'react';
|
3 | import { css } from '@patternfly/react-styles';
|
4 | export var TextListVariants;
|
5 | (function (TextListVariants) {
|
6 | TextListVariants["ul"] = "ul";
|
7 | TextListVariants["ol"] = "ol";
|
8 | TextListVariants["dl"] = "dl";
|
9 | })(TextListVariants || (TextListVariants = {}));
|
10 | export const TextList = (_a) => {
|
11 | var { children = null, className = '', component = TextListVariants.ul } = _a, props = __rest(_a, ["children", "className", "component"]);
|
12 | const Component = component;
|
13 | return (React.createElement(Component, Object.assign({}, props, { "data-pf-content": true, className: css(className) }), children));
|
14 | };
|
15 | TextList.displayName = 'TextList';
|
16 |
|
\ | No newline at end of file |