react-safe-anchor
A simple react component that renders a "safe" anchor. It is intended as a stop-gap for accessibility concerns. This is modified version of react-bootstrap SafeAnchor
Install
npm install react-safe-anchor --save
Usage
CommonJS:
var React = require('react');
var ReactDOM = require('react-dom');
var ReactSafeAnchor = require('react-safe-anchor');
ReactDOM.render(
React.createElement(
ReactSafeAnchor, {},
'<strong>Well done!</strong> Click on this anchor and watch nothing happen!'),
document.body
);