react-adobe-embed
Version:
React Adobe Embed Custom Component for Adobe PDF Embed API allows you to embed a PDF viewer in your web applications with only a few lines of code. With options for controlling how a PDF appears and functions, your applications can deliver the rich and co
11 lines (10 loc) • 339 B
JavaScript
import ReactViewAdobe from './index';
(function () {
// expose ReactViewAdobe to the global object window,
// for cdn usage
if (typeof window !== 'undefined' &&
typeof (window).ReactViewAdobe === 'undefined' &&
window.ReactViewAdobe === undefined) {
window.ReactViewAdobe = ReactViewAdobe;
}
})();