Skip to content

Commit

Permalink
add missing event type for NavLink
Browse files Browse the repository at this point in the history
  • Loading branch information
heyjul3s committed Jan 12, 2021
1 parent 9777e07 commit d777d4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/components/Nav/Mobile/NavSlides/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export const MenuTitle = styled.p`
`}
`;

export const NavLink = styled(AnchorLink)`
export const NavLink = styled(AnchorLink)<{
onClick: (e: React.SyntheticEvent) => void;
}>`
margin: 0 auto;
width: auto;
font-size: 1.25rem;
Expand Down

0 comments on commit d777d4a

Please sign in to comment.