pub fn GitSurface(_: GitSurfaceProps) -> ElementExpand description
The branch, the status counts, and the changed files as a grid with one tab stop. Arrows, Home, and End move the selection; a Stage button sits on each unstaged file.
§Props
For details, see the props struct definition.
branch:Option<String>The branch, or
Nonebefore the first commit.entries:Vec<GitEntry>label:Option<AccessibleName>Names the file grid; “Changed files” when omitted.
onselect:Option<EventHandler<String>>onstage:Option<EventHandler<String>>class:Option<String>attributes:Vec<Attribute>