v1.0.12

Link

Installation

Install yarn add @spark-web/link
Source GitHub.com
Bundle unpkg.com

Link is used for taking users to destinations, or moving from one page to another.

In cases where you'd like a button styled like a Link, see ButtonLink.

Props

PropTypeDescription

href

string

URL to be used for the link (passed to the underlying anchor element).

data?

DataAttributeMap

Sets data attributes on the component.

The Link component also accepts HTML a anchor props and are not listed here.

© 2023 Brighte Capital Pty Ltd