Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
harisDev52 opened this issue Jun 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@harisDev52
Copy link

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 !

@harisDev52 harisDev52 changed the title Need onError prop on document <DocViewer/> Component . So that we can show a custom error component Need onError prop on <DocViewer/> Component like <DocViewer onError={()=>//error} /> . So that we can show a custom error component Jun 5, 2024
@cyntler cyntler added the enhancement New feature or request label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants