Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trendmicro/react-anchor

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trendmicro/react-anchor

Trend Micro Components: React Anchor

  • 0.5.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-anchor build status Coverage Status

NPM

React Anchor component. It handles stopPropagation() and preventDefault() when disabling an anchor tag.

Demo: https://trendmicro-frontend.github.io/react-anchor

Installation

  1. Install the latest version of react and react-anchor:
npm install --save react @trendmicro/react-anchor
  1. Import react-anchor with @trendmicro scope:
import Anchor from '@trendmicro/react-anchor';

Usage

<Anchor
    className="btn btn-default"
    href="https://github.com"
>
    <i className="fa fa-github fa-fw" />
    GitHub
</Anchor>

API

Properties

NameTypeDefaultDescription
hrefString
onClickFunction(event)
disabledBoolean
roleString
tabIndexNumber|String
componentClassElement'a'

License

MIT

Keywords

FAQs

Package last updated on 13 Dec 2016

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc