SearchModalProps
Home > @backstage/plugin-search > SearchModalProps
Signature:
export interface SearchModalProps
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(props: SearchModalChildrenProps) => JSX.Element |
(Optional) A function that returns custom content to render in the search modal in place of the default. | ||
|
boolean |
(Optional) This is supposed to be used together with the open prop. If | ||
|
boolean |
(Optional) If true, it renders the modal. | ||
|
SearchModalChildrenProps['resultItemComponents'] |
(Optional) Optional ability to pass in result item component renderers. | ||
|
() => void |
a function invoked when a search item is pressed or when the dialog should be closed. |