code: function findAttribute(attrs, propName) {
      var index = Object.keys(attrs).filter(function (attr) {
        return attr.toLowerCase() === propName.toLowerCase();
      })[0];
      return attrs[index];
    }
docs: find the normalized attribute knowing that React props accept any type of capitalization