React component for offscreen text
npm install react-offscreenA react component for offscreen text
``sh`
npm i --save react-offscreen
`js
import Offscreen from 'react-offscreen';
const app = (
);
`
_{String}_ (optional): desired tag for offscreen element (defaults to 'span')
- children _{Array|Object|String}_ (required): any valid react childrentag prop examples`js
const offscreenParagraph = (Hello World! );
const offscreenList = (
foo
bar
baz
)
`__See
demo/` directory for more examples__