Skip to main content

ReadiumView

const ReadiumView: ForwardRefExoticComponent<ReadiumProps & RefAttributes<ReadiumViewRef>>;

Renders a publication: an EPUB or PDF on iOS and Android, or a web publication on web.

Example​

<ReadiumView
file={{ url: path, initialLocation: savedLocator }}
preferences={{ theme: 'dark' }}
onLocationChange={saveLocator}
/>