Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA checkbox tree of changed files grouped by folder with status marks, a staged count and stage-all and unstage-all. Use this when people choose which changes go into a commit or a release.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use it for commit dialogs, release notes builders, backup selectors and anywhere a person ticks which changed files to include.
Do not use it for a diff viewer (it only chooses files), or for more than a few hundred files (use virtual-tree with your own checks).
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
changes | TreeNode<Change>[] | - | Folders with changed files as leaves. |
staged / defaultStaged / onStagedChange | string[] | [] | Ids of staged files. |
aria-checked (mixed for a folder with some files staged).The pattern ships with a Testing Library test (git-staging-tree.test.tsx) that covers the count, the status names, staging a folder and the bulk buttons.