import React from 'react'; import PropTypes from 'prop-types'; import { Popover } from '@patternfly/react-core'; import { HelpIcon } from '@patternfly/react-icons'; export const HelpLabel = ({ text, id, className }) => { if (!text) return null; return ( ); }; HelpLabel.propTypes = { id: PropTypes.string.isRequired, text: PropTypes.string, className: PropTypes.string, }; HelpLabel.defaultProps = { text: '', className: '', }; export default HelpLabel;