1 | import { __rest } from "tslib";
|
2 | import * as React from 'react';
|
3 | import { css } from '@patternfly/react-styles';
|
4 | export var TextListItemVariants;
|
5 | (function (TextListItemVariants) {
|
6 | TextListItemVariants["li"] = "li";
|
7 | TextListItemVariants["dt"] = "dt";
|
8 | TextListItemVariants["dd"] = "dd";
|
9 | })(TextListItemVariants || (TextListItemVariants = {}));
|
10 | export const TextListItem = (_a) => {
|
11 | var { children = null, className = '', component = TextListItemVariants.li } = _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 | TextListItem.displayName = 'TextListItem';
|
16 |
|
\ | No newline at end of file |