Skip to content

Commit

Permalink
Merge pull request #2375 from skbkontur/link-event-not-optional
Browse files Browse the repository at this point in the history
refactor(Link): remove the mark of optionality for onClick event
  • Loading branch information
zhzz committed May 10, 2021
2 parents 104923b + 7a9ffc0 commit b938c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-ui/components/Link/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface LinkProps
/** Состояние загрузки */
loading?: boolean;
/** onClick */
onClick?: (event?: React.MouseEvent<HTMLAnchorElement>) => void;
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
}
> {}

Expand Down

0 comments on commit b938c06

Please sign in to comment.