CommandPalette
Global search dialog component
Internal Component
This component is intended solely for use within GitHub and is not available for external use.React
ready
Props
CommandPalette
| Name | Default | Description |
|---|---|---|
open Required | boolean | |
onOpenChange Required | (open: boolean) => void | |
config Required | CommandPaletteConfig | |
routeContext Required | CommandPaletteRouteContext | |
staticResultsByPage | CommandPaletteStaticResultsByPage | |
loading | boolean | |
onTestAction | (action: Readonly<{ pageKey: string; resultId: string; }>) => void | |
returnFocusRef | any |