MCPcopy Create free account
hub / github.com/github/docs / Props

Interface Props

components/ui/Picker/Picker.tsx:9–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import { Fields } from './Fields'
8
9interface Props {
10 items: PickerItem[]
11 iconButton?: Icon
12 onSelect?: (item: PickerItem) => void
13 buttonBorder?: boolean
14 pickerLabel?: string
15 dataTestId: string
16 defaultText: string
17 ariaLabel: string
18 alignment: AnchorAlignment
19 renderItem?: (item: PickerItem) => ReactNode | string
20}
21
22export interface PickerItem {
23 href: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected