docsearch icon indicating copy to clipboard operation
docsearch copied to clipboard

hitComponent

Open RayShineHub opened this issue 2 years ago • 2 comments
trafficstars

https://github.com/algolia/docsearch/blob/d81016b110aa0818231b6e4b7b96d2007d345b05/packages/docsearch-react/src/Hit.tsx#L11

@Whitespace
Can you implement receiving custom jump events here instead of <a>

RayShineHub avatar Feb 28 '23 08:02 RayShineHub

hey, you should be able to provide your own hit component so you can customize the behavior: https://docsearch.algolia.com/docs/api/#hitcomponent

shortcuts avatar Feb 28 '23 08:02 shortcuts

hey, you should be able to provide your own hit component so you can customize the behavior: https://docsearch.algolia.com/docs/api/#hitcomponent

hey @shortcuts Can you provide an example of a custom hitcomponent based on a vue project

thank u

RayShineHub avatar Feb 28 '23 08:02 RayShineHub

@RayShineHub I know it's obviously been a long time here since your issue was logged. We're not able to provide sample code in a vue project. However, if you still have Algolia related questions, you can begin to utilize our Discord at https://alg.li/discord.

randombeeper avatar Jul 12 '24 00:07 randombeeper