@littlespoon/link
v1.3.2
Published
Little Spoon link
Downloads
903
Readme
@littlespoon/link
Install
Yarn:
yarn add @littlespoon/link
npm:
npm install @littlespoon/link --save
Usage
Import component:
import Link from '@littlespoon/link'
Render link:
<Link href="#">Text</Link>
Render link with underline on hover:
<Link href="#" underline="hover">
Text
</Link>
Render link with no underline:
<Link href="#" underline="none">
Text
</Link>
Render external link:
<Link href="https://www.littlespoon.com/" target="_blank">
Text
</Link>