TLUiCommandPaletteProps
Table of contents
Extends Pick<TLUiCommandPaletteShellProps, 'position' | 'suggestions'>.
interface TLUiCommandPaletteProps extends Pick<
TLUiCommandPaletteShellProps,
"position" | "suggestions"
> {}Properties
children
optional
Replaces DefaultCommandPaletteContent.
children?: ReactNode;Methods
onClose
optional
Closes the palette. The CommandPalette slot is mounted only while the palette is open.
Prev
TLUiCommandPalettePromptItemPropsNext
TLUiCommandPaletteShellProps