We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b7fb34 commit 02f8146Copy full SHA for 02f8146
src/Header/Header.tsx
@@ -82,11 +82,11 @@ export namespace HeaderProps {
82
83
export type Link = Common & {
84
linkProps: RegisteredLinkProps;
85
- buttonProps?: undefined;
+ buttonProps?: never;
86
};
87
88
export type Button = Common & {
89
- linkProps?: undefined;
+ linkProps?: never;
90
buttonProps: React.DetailedHTMLProps<
91
React.ButtonHTMLAttributes<HTMLButtonElement>,
92
HTMLButtonElement
0 commit comments