@uncinc/uncinc-react-kitchen-sink 2.8.2 → 2.8.3

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.
@@ -1,4 +1,18 @@
1
- import React from 'react';
2
- import { PDFReaderProps } from './index.lazy';
1
+ import React, { JSXElementConstructor } from 'react';
2
+ export declare interface PDFReaderProps {
3
+ url: string;
4
+ goToFirstPageButton?: React.ReactNode;
5
+ goToNextPageButton?: React.ReactNode;
6
+ goToPreviousPageButton?: React.ReactNode;
7
+ goToLastPageButton?: React.ReactNode;
8
+ zoomInButton?: React.ReactNode;
9
+ zoomOutButton?: React.ReactNode;
10
+ downloadButton?: React.ReactNode;
11
+ printButton?: React.ReactNode;
12
+ loader?: React.ReactElement<any, string | JSXElementConstructor<any>>;
13
+ width?: number;
14
+ height?: number;
15
+ dualPageWidthThreshold?: number;
16
+ }
3
17
  declare const PDFReader: React.FC<PDFReaderProps>;
4
18
  export default PDFReader;
@@ -1,20 +1,6 @@
1
- import React, { JSXElementConstructor } from 'react';
1
+ import React from 'react';
2
2
  import 'react-pdf/dist/esm/Page/TextLayer.css';
3
3
  import 'react-pdf/dist/esm/Page/AnnotationLayer.css';
4
- export declare interface PDFReaderProps {
5
- url: string;
6
- goToFirstPageButton?: React.ReactNode;
7
- goToNextPageButton?: React.ReactNode;
8
- goToPreviousPageButton?: React.ReactNode;
9
- goToLastPageButton?: React.ReactNode;
10
- zoomInButton?: React.ReactNode;
11
- zoomOutButton?: React.ReactNode;
12
- downloadButton?: React.ReactNode;
13
- printButton?: React.ReactNode;
14
- loader?: React.ReactElement<any, string | JSXElementConstructor<any>>;
15
- width?: number;
16
- height?: number;
17
- dualPageWidthThreshold?: number;
18
- }
4
+ import type { PDFReaderProps } from '.';
19
5
  declare const PDFReader: React.FC<PDFReaderProps>;
20
6
  export default PDFReader;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinc/uncinc-react-kitchen-sink",
3
- "version": "2.8.2",
3
+ "version": "2.8.3",
4
4
  "description": "Default React components that are easily extended.",
5
5
  "author": "uncinc",
6
6
  "license": "MIT",