From 38e283b03a9da6daf83786719c850a0bdfc781e4 Mon Sep 17 00:00:00 2001 From: linxianxi <904492381@qq.com> Date: Wed, 14 Jun 2023 20:31:34 +0800 Subject: [PATCH] fix: span title loss --- src/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index dec90d6..7d7996a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -35,6 +35,7 @@ export const Checkbox = forwardRef((props, ref) => { disabled, defaultChecked = false, type = 'checkbox', + title, onChange, ...inputProps } = props; @@ -85,7 +86,7 @@ export const Checkbox = forwardRef((props, ref) => { }; return ( - +