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

@trendmicro/react-anchor

Package Overview
Dependencies
Maintainers
2
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.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
752
decreased by-11.11%
Maintainers
2
Weekly downloads
 
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
componentClassNode|String'a'

License

MIT

Keywords

FAQs

Package last updated on 06 Oct 2017

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