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

react-smart-link

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

react-smart-link

react-smart-link React component

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

react-router-dom Link support for external URLs.

Install

$ npm install --save react-smart-link

Usage

import ReactSmartLink from "react-smart-link";

// Will produce <a href="https://....">External link</a>
<ReactSmartLink to="https://....">External link</ReactSmartLink>

// Will produce <Link to="/react/router/route">Internal link</Link>
<ReactSmartLink to="/react/router/route">Internal link</ReactSmartLink>

// Will produce <button type="button">Button name</button>
<ReactSmartLink>Button name</ReactSmartLink>

// Will produce <button type="submit">Submit button</button>
<ReactSmartLink type="submit">Submit button</ReactSmartLink>

Keywords

react-component

FAQs

Package last updated on 25 Sep 2021

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