@prose-reader/react-reader

Ready to use reader made with React. This is an opinionated reader and will require you to use specific enhancers and libraries to make it works.

Installation

npm install @prose-reader/react-reader hammerjs @prose-reader/enhancer-hammer-gesture

Getting Started

Include the main css file into your index. This will ensure the css of the reader load properly

// ...
import "@prose-reader/react-reader/dist/index.css"
// ...

Initialise your reader wherever you need:

// ...
import { ProseReactReader } "@prose-reader/react-reader"
// ...

Last updated