Socket
Socket
Sign inDemoInstall

@twilio-paste/anchor

Package Overview
Dependencies
152
Maintainers
4
Versions
127
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @twilio-paste/anchor

An Anchor is text that navigates the user from one webpage to another.


Version published
Weekly downloads
9.7K
decreased by-0.17%
Maintainers
4
Install size
114 kB
Created
Weekly downloads
 

Readme

Source

Anchor

Installation

yarn add @twilio-paste/anchor

Usage

import {Anchor} from '@twilio-paste/anchor';

<Anchor href="/app">
  Link Text
</Anchor>

Props

PropTypeDescriptionDefault
href?stringA URL to route to. Required.null
tabindex?AnchorTabIndexes'0', '-1'null
target?AnchorTargets'_self', '_blank', '_parent', '_top'. If external href, defaults to '_blank'. Can be overwritten.null
rel?stringSets the anchor rel attribute. If external href, defaults to 'noreferrer noopener'. Can be overwritten.false
onClick?(event: React.MouseEvent)null
onFocus?(event: React.FocusEvent)null
onBlur?(event: React.FocusEvent)null

FAQs

Last updated on 03 Oct 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc