@weave-design/text-link

1.0.0 • Public • Published

Text Link

Text Links directs visitors to another location on the page, within the product, or to an external site.

Getting started

yarn add @weave-design/text-link @weave-design/theme-context @weave-design/theme-data

Import the component and CSS

import TextLink from '@weave-design/text-link';
import "@weave-design/fonts/build/ArtifaktElement.css";

Basic usage

<TextLink link="https://github.com/Autodesk/hig">
  This is a primary text link
</TextLink>

Custom CSS

Use the className prop to pass in a css class name to the outermost container of the component. The class name will also pass down to most of the other styled elements within the component.

Readme

Keywords

none

Package Sidebar

Install

npm i @weave-design/text-link

Weekly Downloads

140

Version

1.0.0

License

Apache-2.0

Unpacked Size

118 kB

Total Files

5

Last publish

Collaborators

  • hig-bot
  • wmui51