1.0.3 • Published 5 years ago

@dynamogeek/git-graph v1.0.3

Weekly downloads
1
License
mit
Repository
github
Last release
5 years ago

To use GitGraph, pass a pullRequests prop that is an array of objects, where each object has two properties: source, and target.

An example implementation can be found here.

let pullRequests = [
 {
   "source": "task/sub-branch-of-big-report-branch",
   "target": "feature/big-report-branch"
 },
 {
   "source": "feature/big-report-branch",
   "target": "master"
 },
 {
   "source": "task/some-task-going-into-develop",
   "target": "develop"
 },
 {
   "source": "task/another-task-going-into-develop",
   "target": "develop"
 },
 {
   "source": "task/the-best-task-going-into-develop",
   "target": "develop"
 }
];
<GitGraph pullRequests={pullRequests}/>