@lglab/react-qr-code 1.4.0 → 1.4.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.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { JSX } from 'react/jsx-runtime';
1
+ import { ForwardRefExoticComponent } from 'react';
2
+ import { RefAttributes } from 'react';
2
3
 
3
4
  /**
4
5
  * ReactQRCode props.
@@ -218,10 +219,7 @@ declare namespace qrcodegen.QrSegment {
218
219
  {};
219
220
  }
220
221
 
221
- export declare const ReactQRCode: {
222
- (props: ReactQRCodeProps): JSX.Element;
223
- displayName: string;
224
- };
222
+ export declare const ReactQRCode: ForwardRefExoticComponent<Omit<ReactQRCodeProps, "ref"> & RefAttributes<ReactQRCodeRef>>;
225
223
 
226
224
  export declare interface ReactQRCodeProps {
227
225
  ref?: React.Ref<ReactQRCodeRef>;