react-alt-text

React.js Component for displaying alternate text when the [alt] key is pressed.

Usage no npm install needed!

<script type="module">
  import reactAltText from 'https://cdn.skypack.dev/react-alt-text';
</script>

README

React-Alt-Text

React.js Component for displaying alternate text when the [alt] key is pressed.

Install

npm install --save react-alt-text

Usage

import AltText from 'react-alt-text';

<AltText normal="Hello" modified="World" />

License

The MIT License (MIT)

Copyright (c) 2016 Jed Watson