{"size": 384, "ext": "js", "max_stars_repo_path": "src/components/ScoreFootnotes.js", "max_stars_repo_name": "jmschneider/goldengoblet", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/ScoreFootnotes.js", "max_issues_repo_name": "jmschneider/goldengoblet", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/ScoreFootnotes.js", "max_forks_repo_name": "jmschneider/goldengoblet", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.2857142857, "max_line_length": 49, "alphanum_fraction": 0.5026041667}
import React from "react"

const ScoreFootnotes = ({ markdown, notes }) => (
  <div id="footnote">
    {notes.map((note, index) => (
      <div key={index}>
        {"*".repeat(index + 1)} {note}
      </div>
    ))}
    {markdown && (
      <div
        dangerouslySetInnerHTML={{
          __html: markdown,
        }}
      ></div>
    )}
  </div>
)

export default ScoreFootnotes
