function addRowToOutput(formFields, rowOutput, key) {
      const newFields = formFields || [];
      newFields.push(
        <div
          key={ Array.isArray(key) ? key.join('') : key }
          className='slds-form-element__row'>
          { rowOutput }
          { !disabled &&
            <div
            className={'slds-grid slds-grid--vertical-align-end' +
            ' slds-m-left--x-small'}>
            <button
              type='button'
              className='slds-button slds-button--destructive'
              onClick={ onRemove.bind(null, key) }>
              <svg aria-hidden='true' className='slds-icon slds-icon--x-small'>
                <use xlinkHref={'../static/icons/' +
                'utility-sprite/svg/symbols.svg#delete'}></use>
              </svg>
            </button>
          </div>
          }
        </div>
      );
      return newFields;
    }
/**
     * Returns a populated array of DOM elements
     * @param {Array} formFields
     * @param {Array} rowOutput
     * @param {String or Array} key Identifiers
     * associated with this row
     */
Returns a populated array of DOM elements
@param {Array} formFields
@param {Array} rowOutput
@param {String or Array} key Identifiers
associated with this row
Returns a populated array of DOM elements @param { Array } formFields @param { Array } rowOutput @param { String or Array } key Identifiers associated with this row
function addRowToOutput(formFields, rowOutput, key) {
      const newFields = formFields || [];
      newFields.push(
        <div
          key={ Array.isArray(key) ? key.join('') : key }
          className='slds-form-element__row'>
          { rowOutput }
          { !disabled &&
            <div
            className={'slds-grid slds-grid--vertical-align-end' +
            ' slds-m-left--x-small'}>
            <button
              type='button'
              className='slds-button slds-button--destructive'
              onClick={ onRemove.bind(null, key) }>
              <svg aria-hidden='true' className='slds-icon slds-icon--x-small'>
                <use xlinkHref={'../static/icons/' +
                'utility-sprite/svg/symbols.svg#delete'}></use>
              </svg>
            </button>
          </div>
          }
        </div>
      );
      return newFields;
    }
function addRowToOutput ( formFields , rowOutput , key ) { const newFields = formFields || [ ] ; newFields . push ( < div key = { Array . isArray ( key ) ? key . join ( '' ) : key } className = 'slds-form-element__row' > { rowOutput } { ! disabled && < div className = { 'slds-grid slds-grid--vertical-align-end' + ' slds-m-left--x-small' } > < button type = 'button' className = 'slds-button slds-button--destructive' onClick = { onRemove . bind ( null , key ) } > < svg aria-hidden = 'true' className = 'slds-icon slds-icon--x-small' > < use xlinkHref = { '../static/icons/' + 'utility-sprite/svg/symbols.svg#delete' } > < / use > < / svg > < / button > < / div > } < / div > ) ; return newFields ; }
Returns a populated array of DOM elements
 @param {Array} formFields
 @param {Array} rowOutput
 @param {String or Array} key Identifiers
 associated with this row
Returns a populated array of DOM elements @param { Array } formFields @param { Array } rowOutput @param { String or Array } key Identifiers associated with this row