UNPKG

602 BJavaScriptView Raw
1import { __rest } from "tslib";
2import * as React from 'react';
3import styles from '@patternfly/react-styles/css/components/Content/content';
4import { css } from '@patternfly/react-styles';
5export const TextContent = (_a) => {
6 var { children = null, className = '', isVisited = false } = _a, props = __rest(_a, ["children", "className", "isVisited"]);
7 return (React.createElement("div", Object.assign({}, props, { className: css(styles.content, isVisited && styles.modifiers.visited, className) }), children));
8};
9TextContent.displayName = 'TextContent';
10//# sourceMappingURL=TextContent.js.map
\No newline at end of file