import React, { Component } from 'react'; import { FormGroup, Label, Input } from 'reactstrap'; import Throttle from './throttle'; export default class TorrentOptions extends Component { render() { const { id, start, startChanged, priority, priorityChanged, downloadThrottle, downloadThrottleChanged, uploadThrottle, uploadThrottleChanged, } = this.props; return (
{typeof start !== "undefined" && } priorityChanged(parseInt(e.target.value))} > downloadThrottleChanged(limit)} /> uploadThrottleChanged(limit)} />
); } }