2015-12-29 17:43:40 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the BSD-style license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
*
|
|
|
|
* @providesModule AlgoliaDocSearch
|
|
|
|
*/
|
2016-11-21 01:49:21 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var React = require('React');
|
2015-12-29 17:43:40 +00:00
|
|
|
|
|
|
|
var AlgoliaDocSearch = React.createClass({
|
|
|
|
render: function() {
|
|
|
|
return (
|
|
|
|
<div className="algolia-search-wrapper">
|
2016-07-12 19:13:36 +00:00
|
|
|
<input id="algolia-doc-search" tabIndex="0" type="text" placeholder="Search docs..." />
|
2015-12-29 17:43:40 +00:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
module.exports = AlgoliaDocSearch;
|