0.1.7 • Published 4 years ago
@labrnth/link v0.1.7
@labrnth/link
A link component.
Installation
yarn add @labrnth/linkUsage
import Link from '@labrnth/link';
<Link />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| color? | red, green, blue, yellow, white, light, dark, black | black | The colour of the link. |
| component? | any | a | The underlying component of the link. |
| underline? | boolean | true | Whether to apply an underline to the link. |
| children | React.ReactNode | The contents of the link. |