A basic scene changer: arrows and dots
npm install @economist/component-scenechangerThis component expects an ES6 environment, and so if you are using this in an app,
you should drop in a polyfill library - it has been tested with [babel-polyfill] but
[core-js] or [es6-shim] may also work.
[babel-polyfill]: https://babeljs.io/docs/usage/polyfill/
[core-js]: https://www.npmjs.com/package/core-js
[es6-shim]: https://www.npmjs.com/package/es6-shim
The default export is a React Component, so you can simply import the component and use
it within some JSX, like so:
``js
import Scenechanger from '@economist/component-scenechanger';
return
`
For more examples on usage, see src/example.es6.
`bash`
npm i -S @economist/component-scenechanger
`bash``
npm test