Skip to content

Commit 3ac9517

Browse files
committed
fix(types): remove unused props on sidepanel
1 parent 64c0405 commit 3ac9517

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/docsearch-sidepanel/src/Sidepanel.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@ import { useDocSearch } from 'typesense-docsearch-core';
22
import {
33
Sidepanel as SidepanelComp,
44
type DocSearchSidepanelProps,
5-
type SidepanelSearchParameters,
65
} from 'typesense-docsearch-react/sidepanel';
76
import React from 'react';
87
import type { JSX } from 'react';
98
import { createPortal } from 'react-dom';
109

1110
export type SidepanelProps = DocSearchSidepanelProps['panel'] &
12-
Omit<DocSearchSidepanelProps, 'button' | 'panel' | 'theme'> &
13-
SidepanelSearchParameters;
11+
Omit<DocSearchSidepanelProps, 'button' | 'panel' | 'theme'>;
1412

1513
export function Sidepanel({ portalContainer, ...props }: SidepanelProps): JSX.Element {
1614
const { docsearchState, setDocsearchState, keyboardShortcuts, registerView, initialAskAiMessage } = useDocSearch();

0 commit comments

Comments
 (0)