component (type) {
    if (this.options.library.hasOwnProperty(type)) {
      return this.options.library[type].component
    }
    return false
  }
Determine what type of component to render given the "type".
@param {string} type