aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-shared/src/components
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-04 00:17:16 +0800
committerFabio Berger <me@fabioberger.com>2018-10-04 00:17:16 +0800
commit1bef42cdcb45e4614ffdc8d8a1e455b4fe970a45 (patch)
tree616fef23e65e3dc03bb88eb8d44ee305b9b16dc0 /packages/react-shared/src/components
parent8d6bffa96ca26e59b0c10f9f46f6f1e03e3518e9 (diff)
downloaddexon-sol-tools-1bef42cdcb45e4614ffdc8d8a1e455b4fe970a45.tar
dexon-sol-tools-1bef42cdcb45e4614ffdc8d8a1e455b4fe970a45.tar.gz
dexon-sol-tools-1bef42cdcb45e4614ffdc8d8a1e455b4fe970a45.tar.bz2
dexon-sol-tools-1bef42cdcb45e4614ffdc8d8a1e455b4fe970a45.tar.lz
dexon-sol-tools-1bef42cdcb45e4614ffdc8d8a1e455b4fe970a45.tar.xz
dexon-sol-tools-1bef42cdcb45e4614ffdc8d8a1e455b4fe970a45.tar.zst
dexon-sol-tools-1bef42cdcb45e4614ffdc8d8a1e455b4fe970a45.zip
Improve comment
Diffstat (limited to 'packages/react-shared/src/components')
-rw-r--r--packages/react-shared/src/components/link.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/react-shared/src/components/link.tsx b/packages/react-shared/src/components/link.tsx
index 7425b9365..6200bfbd3 100644
--- a/packages/react-shared/src/components/link.tsx
+++ b/packages/react-shared/src/components/link.tsx
@@ -19,9 +19,10 @@ export interface LinkProps {
}
/**
- * A generic link component which let's the developer render internal & external links, and their associated
- * behaviors with a single link component. Many times we want a menu including both internal & external links
- * and this abstracts away the differences of rendering both types of links.
+ * A generic link component which let's the developer render internal, external and scroll-to-hash links, and
+ * their associated behaviors with a single link component. Many times we want a menu including a combination of
+ * 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> = ({
style,