Improve comment
This commit is contained in:
parent
8d6bffa96c
commit
1bef42cdcb
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user