dhre-ui-kit 0.0.328 → 0.0.329
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/lib/index.d.ts +1 -0
- package/lib/index.js +4 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +4 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -3559,7 +3559,8 @@ const CustomDropdown = (props) => {
|
|
|
3559
3559
|
activeColor,
|
|
3560
3560
|
keepPlaceholderOnFocus = false,
|
|
3561
3561
|
selectedItemTextStyle,
|
|
3562
|
-
disable
|
|
3562
|
+
disable,
|
|
3563
|
+
autoScroll = true
|
|
3563
3564
|
} = props;
|
|
3564
3565
|
const [value, setValue] = useState(defaultValue);
|
|
3565
3566
|
const [isFocus, setIsFocus] = useState(false);
|
|
@@ -3632,7 +3633,8 @@ const CustomDropdown = (props) => {
|
|
|
3632
3633
|
containerStyle: menuContainerStyle,
|
|
3633
3634
|
activeColor,
|
|
3634
3635
|
itemContainerStyle: [styles$8.itemListStyle, itemContainerStyle],
|
|
3635
|
-
disable
|
|
3636
|
+
disable,
|
|
3637
|
+
autoScroll
|
|
3636
3638
|
}
|
|
3637
3639
|
));
|
|
3638
3640
|
};
|