0.2.4 • Published 2 years ago
@metyis-ds/link v0.2.4
@metyis-ds/link
Links are underlined by default.
There is a variant of Link if isSubtle is true where the underline is animated on hover (or if forced with forceHover).
Furthermore, if no href is passed, Link will have a span as a root element instead of an a to support cases like react-router, where a library exports its own a which will wrap this component. Thus, the styles are exported and something like <a><a></a></a> can be avoided.
Finally, there are three available sizes: lg, md and sm.
Install
$ yarn add @metyis-ds/link