/** * 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 HeaderLinks */ 'use strict'; var AlgoliaDocSearch = require('AlgoliaDocSearch'); var React = require('React'); var HeaderLinks = React.createClass({ linksInternal: [ {section: 'docs', href: 'docs/getting-started.html', text: 'Docs', target: '.nav-docs'}, {section: 'support', href: '/react-native/support.html', text: 'Help'}, {section: 'showcase', href: '/react-native/showcase.html', text: 'Showcase'}, {section: 'blog', href: '/react-native/blog/', text: 'Blog'}, ], linksExternal: [ {section: 'github', href: 'https://github.com/facebook/react-native', text: 'GitHub'}, {section: 'react', href: 'http://facebook.github.io/react', text: 'React'}, ], makeLinks: function(links) { return links.map(function(link) { return (
  • {link.text}
  • ); }, this); }, render: function() { return (
    ); } }); module.exports = HeaderLinks;