From bce7b63ddfb3e40dec81b7c45025493f6cf67484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kiner-tang=28=E6=96=87=E8=BE=89=29?= <1127031143@qq.com> Date: Mon, 24 Jul 2023 14:32:48 +0800 Subject: [PATCH 1/2] feat: export type --- src/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index f080b40..b5a2198 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -433,3 +433,5 @@ const QRCode = React.forwardRef(function QRCode( }); export {QRCode as default, QRCodeCanvas, QRCodeSVG}; + +export type { QRPropsCanvas, QRPropsSVG }; From 77ea03321018622e1f1c32730644cab0a0eb6c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kiner-tang=28=E6=96=87=E8=BE=89=29?= <1127031143@qq.com> Date: Mon, 24 Jul 2023 14:33:23 +0800 Subject: [PATCH 2/2] feat: export type --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index b5a2198..f755dd4 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -434,4 +434,4 @@ const QRCode = React.forwardRef(function QRCode( export {QRCode as default, QRCodeCanvas, QRCodeSVG}; -export type { QRPropsCanvas, QRPropsSVG }; +export type { QRPropsCanvas, QRPropsSVG, RootProps };