code: function generateComponentMethods(componentMethods) {
    if (componentMethods.length === 0) {
      return ''
    }
  
    return componentMethods.reduce((acc, method) => {
      const methods = `${acc}\n\xa0\xa0\xa0\xa0${method}(){}\n`
  
      return methods
    }, '')
  }
docs: Create the concatenation of methods string that will be injected into class and pure components
  @param {Array} componentMethods
  @return {String} methods