Founding price: $35, then $79.99 after 23:59 UTC on 4 November, then $79.99
Get ProA commit list with a lane graph showing branches and merges, selectable by mouse or keyboard.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
| Prop | Type | Default | Description |
|---|---|---|---|
commits | GitCommit[] | - | Commits, newest first, parents after children. |
selected | string | - | Selected commit hash (controlled). |
defaultSelected | string | - | Initially selected hash when uncontrolled. |
onSelect | (hash: string, commit: GitCommit) => void | - | Called with the chosen commit. |
label | string | Commit history | Accessible name of the list. |
hideAuthors | boolean | false | Hide the author column. |
Also accepts all <div> props except onSelect and children.
| Prop | Type | Default | Description |
|---|---|---|---|
hash | string | - | Commit hash. |
parents | string[] | - | Parent hashes. More than one makes it a merge. |
message | string | - | First line of the message. |
author | string | - | Author name. |
date | string | - | ISO date, shown in UTC. |
branches | string[] | - | Branch names pointing here. |
tags | string[] | - | Tag names pointing here. |
The list is a listbox. Arrow keys, Home and End move the active row; Enter or Space selects it.