code: function() {
      var descriptionCopy = this.buildDescriptionCopy();
  
      return (
        <div className="relative-timeframe-picker">
          <div className="row">
            <div className="col-xs-4 form-collapse-right" id="relative-type">
              <div className="btn-group width-100">
                <Select label={false}
                        name="relativity"
                        classes="relativity width-100"
                        options={RELATIVE_TIMEFRAMES}
                        emptyOption={false}
                        handleSelection={this.setRelativeTime}
                        selectedOption={this.props.time.relativity} />
              </div>
            </div>
            <div className="col-xs-3 form-collapse-left form-collapse-right" id="interval-amount">
              <Input label={false}
                     name="amount"
                     classes="amount"
                     type="number"
                     onChange={this.setRelativeTime}
                     placeholder="e.g. 1"
                     value={this.props.time.amount || ""}
                     autoComplete="off" />
            </div>
            <div className="col-xs-5 form-collapse-left" id="sub-interval-type">
              <Select label={false}
                      name="sub_timeframe"
                      classes="sub-timeframe"
                      options={this.props.relativeIntervalTypes}
                      emptyOption={false}
                      handleSelection={this.setRelativeTime}
                      selectedOption={this.props.time.sub_timeframe}
                      sort={false} />
            </div>
          </div>
          {descriptionCopy}
        </div>
      );
    }
docs: React Methods