cyntler / cyntler/react-doc-viewer

Need onError prop on <DocViewer/> Component like <DocViewer onError={()=>//error} /> . So that we can show a custom error component

Open
#266 0 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
481
Forks
147
PR merge metrics
No merged PRs in 30d

Description

Currently there is not way of handling errors . If DocViewer can support onError props then we can show custom components in case of file not working/crashing .

Thanks for the wonderful package , keep up the good work !

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.