Improve comment

This commit is contained in:
Fabio Berger 2018-10-03 17:17:16 +01:00
parent 8d6bffa96c
commit 1bef42cdcb

View File

@ -19,9 +19,10 @@ export interface LinkProps {
} }
/** /**
* A generic link component which let's the developer render internal & external links, and their associated * A generic link component which let's the developer render internal, external and scroll-to-hash links, and
* behaviors with a single link component. Many times we want a menu including both internal & external links * their associated behaviors with a single link component. Many times we want a menu including a combination of
* and this abstracts away the differences of rendering both types of links. * internal, external and scroll links and the abstraction of the differences of rendering each types of link
* makes it much easier to do so.
*/ */
export const Link: React.StatelessComponent<LinkProps> = ({ export const Link: React.StatelessComponent<LinkProps> = ({
style, style,