Skip to content

GitRepositoryPicker

API reference and demos for GitRepositoryPicker.

Source

import { GitRepositoryPicker } from "@flanksource/clicky-ui/data";
Controlled · Open in Storybook
Compact · Open in Storybook
Narrow Container · Open in Storybook

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 GitRepositoryOption[] — —
label string — —
load GitPickerLoader<GitRepositoryOption> — —
loading boolean — —
onChange* (…) => void — —
onRetry (…) => void — —
optionTrailing (…) => ReactNode — —
placeholder string — —
scope string — —
size enum — —
value* string — —