| 1 |
import { jsx as _jsx } from "react/jsx-runtime"; |
| 2 |
import { css } from '@patternfly/react-styles'; |
| 3 |
import styles from '@patternfly/react-styles/css/components/ToggleGroup/toggle-group.mjs'; |
| 4 |
export var ToggleGroupItemVariant; |
| 5 |
(function (ToggleGroupItemVariant) { |
| 6 |
ToggleGroupItemVariant["icon"] = "icon"; |
| 7 |
ToggleGroupItemVariant["text"] = "text"; |
| 8 |
})(ToggleGroupItemVariant || (ToggleGroupItemVariant = {})); |
| 9 |
export const ToggleGroupItemElement = ({ variant, children }) => (_jsx("span", { className: css(variant === 'icon' && styles.toggleGroupIcon, variant === 'text' && styles.toggleGroupText), children: children })); |
| 10 |
ToggleGroupItemElement.displayName = 'ToggleGroupItemElement'; |
| 11 |
//# sourceMappingURL=ToggleGroupItemElement.js.map |