Use tabIndex instead of tabindex

Summary:
There is a little bit of dogscience here, but I believe JSX is wanting
`tabIndex` instead of `tabindex`. We have `tabindex` as an attribute in
our Algolia search; changing it to `tabIndex` removes the warning.

**Before**

<img width="1262" alt="screenshot 2016-07-12 11 05 47" src="https://cloud.githubusercontent.com/assets/3757713/16772199/4bff2d0e-4821-11e6-822f-a729656fec53.png">

**After**

<img width="1254" alt="screenshot 2016-07-12 11 09 47" src="https://cloud.githubusercontent.com/assets/3757713/16772201/4e09eb34-4821-11e6-9c5e-5e3d7e21c4bd.png">
Closes https://github.com/facebook/react-native/pull/8721

Differential Revision: D3550398

fbshipit-source-id: b7821d1940cd4c7880ee6fb907bcb16b44087750
This commit is contained in:
Joel Marcey 2016-07-12 12:13:36 -07:00 committed by Facebook Github Bot 1
parent c33084cc94
commit cb31d4cb6d

View File

@ -13,7 +13,7 @@ var AlgoliaDocSearch = React.createClass({
render: function() { render: function() {
return ( return (
<div className="algolia-search-wrapper"> <div className="algolia-search-wrapper">
<input id="algolia-doc-search" tabindex="0" type="text" placeholder="Search docs..." /> <input id="algolia-doc-search" tabIndex="0" type="text" placeholder="Search docs..." />
</div> </div>
); );
} }