{"size": 638, "ext": "js", "max_stars_repo_path": "src/features/authentication/common/TermsOfPrivacyNav.js", "max_stars_repo_name": "Efosaok/E-transit-w", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/features/authentication/common/TermsOfPrivacyNav.js", "max_issues_repo_name": "Efosaok/E-transit-w", "max_issues_repo_issues_event_min_datetime": "2018-07-14T03:04:33.000Z", "max_issues_repo_issues_event_max_datetime": "2018-10-02T11:44:17.000Z", "max_forks_repo_path": "src/features/authentication/common/TermsOfPrivacyNav.js", "max_forks_repo_name": "Efosaok/E-transit-w", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 21.2666666667, "max_line_length": 60, "alphanum_fraction": 0.6285266458}
import React from 'react';
import NavLink from 'Components/nav-link/NavLink';
import PropTypes from 'prop-types';

const TermsOfPrivacyNav = props => (
  <div className="text-center terms-of-privacy-section">
    <p>
      By clicking {props.text}, you hereby agree to our{' '}
      <NavLink
        text="Terms of use"
        path="#"
      /> and acknowledge that you have read our{' '}
      <NavLink
        text="privacy policy"
        path="#"
      />
    </p>
  </div>
);

export default TermsOfPrivacyNav;

TermsOfPrivacyNav.defaultProps = {
  text: 'sign up',
};

TermsOfPrivacyNav.propTypes = {
  text: PropTypes.string,
};
