import classNames from 'classnames'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import CheckInput from 'Components/Form/CheckInput'; import NumberInput from 'Components/Form/NumberInput'; import Icon from 'Components/Icon'; import { icons } from 'Helpers/Props'; import styles from './DownloadProtocolItem.css'; class DownloadProtocolItem extends Component { // // Listeners onChange = ({ name, value }) => { const { protocol, onDownloadProtocolItemFieldChange } = this.props; onDownloadProtocolItemFieldChange(protocol, name, value); }; // // Render render() { const { isPreview, name, allowed, delay, isDragging, isOverCurrent, connectDragSource } = this.props; return (