Skip to content

Commit

Permalink
Add new slot below results
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Jan 3, 2023
1 parent 07bef69 commit 3550b68
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion searchlib/components/SearchView/SearchView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,17 @@ export const SearchView = (props) => {
}
sideContent={null}
bodyHeader={<SampleQueryPrompt />}
bodyContent={<BodyContent {...props} wasInteracted={wasInteracted} />}
bodyContent={
<>
<BodyContent {...props} wasInteracted={wasInteracted} />

<RenderSlot
{...props}
searchState={searchState}
slotName="belowResults"
/>
</>
}
bodyFooter={wasInteracted ? <AppInfo appConfig={appConfig} /> : null}
/>
</div>
Expand Down

0 comments on commit 3550b68

Please sign in to comment.