Skip to content

Commit

Permalink
fix interface (#114)
Browse files Browse the repository at this point in the history
* fix interface

Signed-off-by: Kartik <[email protected]>

* update

Signed-off-by: Kartik <[email protected]>
  • Loading branch information
kaddy645 authored Nov 8, 2022
1 parent d807a94 commit ab3ba28
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src-docs/src/components/guide_page/guide_page_header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace JSX {
interface IntrinsicElements {
'version-selector': React.DetailedHTMLProps<
React.HTMLAttributes<HTMLElement>,
HTMLElement
>;
'version-selector': VersionSelectorAttributes;
}

interface VersionSelectorAttributes
extends React.HTMLAttributes<HTMLElement> {
selected: string;
}
}
}
Expand Down

0 comments on commit ab3ba28

Please sign in to comment.