@reeverdev/ui 0.2.224 → 0.2.225

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.cts CHANGED
@@ -2903,6 +2903,10 @@ interface ImageCropperProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
2903
2903
  }
2904
2904
  declare const ImageCropper: React$1.ForwardRefExoticComponent<ImageCropperProps & React$1.RefAttributes<HTMLDivElement>>;
2905
2905
 
2906
+ interface QRCodeRef {
2907
+ /** Download QR code as PNG image */
2908
+ download: (filename?: string) => void;
2909
+ }
2906
2910
  declare const qrCodeVariants: (props?: ({
2907
2911
  variant?: "bordered" | "default" | "card" | null | undefined;
2908
2912
  size?: "sm" | "md" | "lg" | null | undefined;
@@ -2931,7 +2935,7 @@ interface QRCodeProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "titl
2931
2935
  /** Logo background style */
2932
2936
  logoBackgroundColor?: string;
2933
2937
  }
2934
- declare const QRCode: React$1.ForwardRefExoticComponent<QRCodeProps & React$1.RefAttributes<HTMLDivElement>>;
2938
+ declare const QRCode: React$1.ForwardRefExoticComponent<QRCodeProps & React$1.RefAttributes<QRCodeRef>>;
2935
2939
 
2936
2940
  interface ThemeProviderProps {
2937
2941
  /** Child components */
package/dist/index.d.ts CHANGED
@@ -2903,6 +2903,10 @@ interface ImageCropperProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
2903
2903
  }
2904
2904
  declare const ImageCropper: React$1.ForwardRefExoticComponent<ImageCropperProps & React$1.RefAttributes<HTMLDivElement>>;
2905
2905
 
2906
+ interface QRCodeRef {
2907
+ /** Download QR code as PNG image */
2908
+ download: (filename?: string) => void;
2909
+ }
2906
2910
  declare const qrCodeVariants: (props?: ({
2907
2911
  variant?: "bordered" | "default" | "card" | null | undefined;
2908
2912
  size?: "sm" | "md" | "lg" | null | undefined;
@@ -2931,7 +2935,7 @@ interface QRCodeProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "titl
2931
2935
  /** Logo background style */
2932
2936
  logoBackgroundColor?: string;
2933
2937
  }
2934
- declare const QRCode: React$1.ForwardRefExoticComponent<QRCodeProps & React$1.RefAttributes<HTMLDivElement>>;
2938
+ declare const QRCode: React$1.ForwardRefExoticComponent<QRCodeProps & React$1.RefAttributes<QRCodeRef>>;
2935
2939
 
2936
2940
  interface ThemeProviderProps {
2937
2941
  /** Child components */