react-safe-anchor
v0.1.0
Published
A simple react component that renders a "safe" anchor. It is intended as a stop-gap for accessibility concerns.
Downloads
4
Readme
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
);