import { useState } from 'react' import { ReactReader } from '../../lib/index' import { DEMO_URL, DEMO_NAME } from '../components/config' import { Example } from '../components/Example' export const Scroll = () => { const [location, setLocation] = useState(0) return ( setLocation(loc)} epubOptions={{ flow: 'scrolled', manager: 'continuous', }} /> ) }