import React from 'react'; import Icon from 'Components/Icon'; import Label from 'Components/Label'; import { icons, kinds } from 'Helpers/Props'; import translate from 'Utilities/String/translate'; interface DownloadVolumeFactorLabelProps { factor?: number; } function DownloadVolumeFactorLabel({ factor }: DownloadVolumeFactorLabelProps) { const value = Number(factor); if (isNaN(value) || value === 1.0) { return null; } if (value === 0.0) { return ; } return ( ); } export default DownloadVolumeFactorLabel;