-
Notifications
You must be signed in to change notification settings - Fork 1
Description
When i open the page preview window i m not able to close it. And there is also no option to hide the same. The localization is also not getting applied properly even when i pass the localization key the aria label are still in hindi.
Code usage:
export const PDF_CONTROLS = {
controlSections: {
navigation: false,
zoom: false,
fullscreen: false,
download: false,
info: false,
sidebarButton: false,
rotation: false,
print: false,
search: false,
bookmarks: false,
annotations: false,
localization: false,
},
localization: [{ locale: 'en', title: 'English', active: true }],
};
<AdexViewer
data={{ url: src }}
credits={false}
showToolbar={false}
showSidebar={false}
showControls={PDF_CONTROLS.controlSections}
localization={PDF_CONTROLS.localization}
/>
Please provide a suitable solution for these above problems