SearchcraftBaseSearchResultsProps
The Props Used by the SearchcraftBaseSearchResults Component.
Extends
SearchcraftBaseSearchResults
Properties
buttonLabel?
optionalbuttonLabel:string
The label for the button rendered when containerHref is not present for each result.
Inherited from
Components.SearchcraftBaseSearchResults.buttonLabel
buttonRel?
optionalbuttonRel:"noreferrer"|"noopener"|"nofollow"
The relationship between the current document and the link for the button rendered when containerHref is not present for each result.
Inherited from
Components.SearchcraftBaseSearchResults.buttonRel
buttonTarget
buttonTarget:
"_blank"|"_self"|"_top"|"_parent"
Where to open the link for the button rendered when containerHref is not present for each result.
Inherited from
Components.SearchcraftBaseSearchResults.buttonTarget
containerRel?
optionalcontainerRel:"noreferrer"|"noopener"|"nofollow"
The relationship between the current document and the link for the containing element for each result.
Inherited from
Components.SearchcraftBaseSearchResults.containerRel
containerTarget
containerTarget:
"_blank"|"_self"|"_top"|"_parent"
Where to open the link for the containing element for each result.
Inherited from
Components.SearchcraftBaseSearchResults.containerTarget
customStylesForResults?
optionalcustomStylesForResults:string|Record<string,Record<string,string>>
A custom styles object.
Inherited from
Components.SearchcraftBaseSearchResults.customStylesForResults
resultImagePlacement
resultImagePlacement:
"left"|"right"
The placement of the image for each result.
Inherited from
Components.SearchcraftBaseSearchResults.resultImagePlacement
searchResultMappings?
optionalsearchResultMappings:SearchResultMappings
Formats the content rendered for each result.
Inherited from
Components.SearchcraftBaseSearchResults.searchResultMappings