New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@tdcerhverv/link

Package Overview
Dependencies
Maintainers
29
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@tdcerhverv/link

Link component

unpublished
latest
Source
npmnpm
Version
1.2.1
Version published
Maintainers
29
Created
Source

States

A link have four basic states which differ in color. This is to indicate the current state of the link.

Default, Hover and Active on un-visited links are using the blue primary colors from the CVI palette, while visited links (default, active, hover) is using the build-in browser default.

It is preferable to have a tooltip that shows when hovering a link. The tooltip should give the user an understanding of, what will happen when clicking the link.

Usage

Import like this:

import { MaterialLink } from '@tdcerhverv/link';

Use like this:

<MaterialLink {...props}>{children}</MaterialLink>

Props

interface ILink {
  children?: ReactNode;
  title?: string; // adds content to the Tooltip
  className?: string;
  // and any other Material-UI link props
}

See the rest of the props in material-ui docs

Tags

link, a, anchor, href, material-link

FAQs

Package last updated on 14 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts