mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 02:49:16 +01:00
fix: 🏷️ Fix several typing issues from React 19
This commit is contained in:
parent
7055b89842
commit
8bb062e887
3 changed files with 14 additions and 7 deletions
|
|
@ -164,6 +164,7 @@ function LoadingIcon(props: ComponentPropsWithoutRef<"svg">) {
|
|||
|
||||
function HighlightQuery({ text, query }: { text: string; query: string }) {
|
||||
return (
|
||||
// @ts-expect-error types not properly updated to react 19
|
||||
<Highlighter
|
||||
highlightClassName="underline bg-transparent text-brand-500"
|
||||
searchWords={[query]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue