1 | import * as React from 'react';
|
2 | import { css } from '@patternfly/react-styles';
|
3 | import styles from '@patternfly/react-styles/css/components/ToggleGroup/toggle-group';
|
4 | export var ToggleGroupItemVariant;
|
5 | (function (ToggleGroupItemVariant) {
|
6 | ToggleGroupItemVariant["icon"] = "icon";
|
7 | ToggleGroupItemVariant["text"] = "text";
|
8 | })(ToggleGroupItemVariant || (ToggleGroupItemVariant = {}));
|
9 | export const ToggleGroupItemElement = ({ variant, children }) => (React.createElement("span", { className: css(variant === 'icon' && styles.toggleGroupIcon, variant === 'text' && styles.toggleGroupText) }, children));
|
10 | ToggleGroupItemElement.displayName = 'ToggleGroupItemElement';
|
11 |
|
\ | No newline at end of file |