svelte-pdf-view 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/PdfRenderer.svelte
CHANGED
|
@@ -9,9 +9,6 @@
|
|
|
9
9
|
import { getPdfJs } from './pdf-viewer/pdfjs-singleton.js';
|
|
10
10
|
import { rendererStyles } from './pdf-viewer/renderer-styles.js';
|
|
11
11
|
|
|
12
|
-
// Re-export PdfSource type for convenience
|
|
13
|
-
export type { PdfSource };
|
|
14
|
-
|
|
15
12
|
interface Props {
|
|
16
13
|
/** PDF source - URL string, ArrayBuffer, Uint8Array, or Blob. If not provided, uses src from PdfViewer context. */
|
|
17
14
|
src?: PdfSource;
|
|
@@ -15,8 +15,6 @@ interface Props {
|
|
|
15
15
|
/** Scrollbar width */
|
|
16
16
|
scrollbarWidth?: string;
|
|
17
17
|
}
|
|
18
|
-
declare const PdfRenderer: import("svelte").Component<Props, {
|
|
19
|
-
PdfSource: typeof PdfSource;
|
|
20
|
-
}, "">;
|
|
18
|
+
declare const PdfRenderer: import("svelte").Component<Props, {}, "">;
|
|
21
19
|
type PdfRenderer = ReturnType<typeof PdfRenderer>;
|
|
22
20
|
export default PdfRenderer;
|