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