From 514053078f54b7809197191747adab478cdab28f Mon Sep 17 00:00:00 2001 From: RyanCW <75795462+Ryan-CW-Code@users.noreply.github.com> Date: Tue, 9 Dec 2025 16:01:02 +0800 Subject: [PATCH] fix(picker): Add swipeDuration prop to Picker component --- src/picker/Picker.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/picker/Picker.tsx b/src/picker/Picker.tsx index 1adbeb847..1ecbc262b 100644 --- a/src/picker/Picker.tsx +++ b/src/picker/Picker.tsx @@ -45,6 +45,7 @@ const Picker: FC = (props) => { cancelBtn, confirmBtn, renderLabel, + swipeDuration, } = useDefaultProps(props, pickerDefaultProps); const pickerClass = usePrefixClass('picker'); @@ -160,6 +161,7 @@ const Picker: FC = (props) => { value={pickerValue[idx]} renderLabel={renderLabel} onPick={(context) => handlePick(context, idx)} + swipeDuration={swipeDuration} /> ))}