Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import React from "react";
const ForkEvent = ({ created_at: eventDate, repo, org, actor, payload }) => {
const { display_login: login, url: actorURL } = actor;
const { name: repoName, url: repoURL } = repo;
return (
<div>
<h3>Fork - (<small>{eventDate.toString()}</small>)</h3>
<p>
<a href={actorURL}>{login}</a> has forked{" "}
<a href={repoURL}>{repoName}</a>
</p>
</div>
);
};
export default ForkEvent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment