const PropTypes = require('prop-types'); /** * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ const React = require('react'); const SocialFooter = props => (
More
{props.config.projectName}
{props.config.twitterUsername && (
Follow @{props.config.twitterUsername}
)} {props.config.facebookAppId && (
)}
); SocialFooter.propTypes = { config: PropTypes.object }; class Footer extends React.Component { render() { return ( ); } } module.exports = Footer;