Skip to content

Commit

Permalink
[examples] Fix NextLinkComposedProps type error (mui#33842)
Browse files Browse the repository at this point in the history
  • Loading branch information
adham618 authored and Daniel Rabe committed Nov 29, 2022
1 parent 9432c34 commit 49b4f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nextjs-with-typescript/src/Link.tsx
Expand Up @@ -10,7 +10,7 @@ const Anchor = styled('a')({});

interface NextLinkComposedProps
extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>,
Omit<NextLinkProps, 'href' | 'as' | 'onClick' | 'onMouseEnter'> {
Omit<NextLinkProps, 'href' | 'as' | 'onClick' | 'onMouseEnter' | 'onTouchStart'> {
to: NextLinkProps['href'];
linkAs?: NextLinkProps['as'];
}
Expand Down

0 comments on commit 49b4f1c

Please sign in to comment.