@searchcraft/react-sdk / SearchcraftPopoverFormProps
The props for the SearchcraftPopoverForm component.
Extends
SearchcraftPopoverForm
Properties
hotkey
hotkey:
string
The hotkey that activates the popover.
Inherited from
Components.SearchcraftPopoverForm.hotkey
hotkeyModifier
hotkeyModifier:
"meta"
|"option"
|"alt"
|"ctrl"
The hotkey modifier that activates the popover. Used together with the hotkey
prop.
Inherited from
Components.SearchcraftPopoverForm.hotkeyModifier
popoverResultMappings?
optional
popoverResultMappings: `PopoverResultMappings`
Formats the content rendered for each result.
Inherited from
Components.SearchcraftPopoverForm.popoverResultMappings
type
type:
"inline"
|"fullscreen"
|"modal"
The type of popover form to render. - inline
- Renders inline with the rest of the content on the page. The search results pop over the page content. - fullscreen
- Renders in fullscreen view. Used together with the searchcraft-popover-button
component. - modal
- Renders in a modal view. Used together with the searchcraft-popover-button
component.
Inherited from
Components.SearchcraftPopoverForm.type