1 | import { __rest } from "tslib";
|
2 | import * as React from 'react';
|
3 | import styles from '@patternfly/react-styles/css/components/DescriptionList/description-list';
|
4 | import { css } from '@patternfly/react-styles';
|
5 | export const DescriptionListTerm = (_a) => {
|
6 | var { children, className, icon } = _a, props = __rest(_a, ["children", "className", "icon"]);
|
7 | return (React.createElement("dt", Object.assign({ className: css(styles.descriptionListTerm, className) }, props),
|
8 | icon ? React.createElement("span", { className: css(styles.descriptionListTermIcon) }, icon) : null,
|
9 | React.createElement("span", { className: css(styles.descriptionListText) }, children)));
|
10 | };
|
11 | DescriptionListTerm.displayName = 'DescriptionListTerm';
|
12 |
|
\ | No newline at end of file |