GitCommitPicker
API reference and demos for GitCommitPicker.
Import
Section titled “Import”import { GitCommitPicker } from "@flanksource/clicky-ui/data";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
className |
string |
— | — |
disabled |
boolean |
— | — |
error |
Error | null |
— | — |
help |
string |
— | — |
items |
readonly GitCommitOption[] |
— | — |
label |
string |
— | — |
load |
GitPickerLoader<GitCommitOption> |
— | — |
loading |
boolean |
— | — |
onChange* |
(…) => void |
— | — |
onRetry |
(…) => void |
— | — |
optionTrailing |
(…) => ReactNode |
— | — |
placeholder |
string |
— | — |
scope |
string |
— | — |
size |
enum |
— | — |
value* |
string |
— | — |