CommandPalette

Global search dialog component

Internal Component

This component is intended solely for use within GitHub and is not available for external use.

Props

CommandPalette

NameDefaultDescription
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