import React from 'react'; import { Popover } from '@patternfly/react-core'; import { HelpIcon } from '@patternfly/react-icons'; import { translate as __ } from 'foremanReact/common/I18n'; export const helpLabel = (text, id) => { if (!text) return null; return ( ); }; export const isPositiveNumber = text => parseInt(text, 10) > 0; export const isValidDate = d => d instanceof Date && !Number.isNaN(d);