dhre-ui-kit 0.0.221 → 0.0.222
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.d.ts
CHANGED
|
@@ -636,6 +636,7 @@ interface CustomDropdownProps {
|
|
|
636
636
|
menuContainerStyle?: ViewStyle;
|
|
637
637
|
activeColor?: string;
|
|
638
638
|
renderRightIcon?: (visible?: boolean) => JSX.Element | null | undefined;
|
|
639
|
+
disable?: boolean;
|
|
639
640
|
}
|
|
640
641
|
declare const CustomDropdown: (props: CustomDropdownProps) => React$1.JSX.Element;
|
|
641
642
|
|
package/lib/index.js
CHANGED
|
@@ -3456,7 +3456,8 @@ const CustomDropdown = (props) => {
|
|
|
3456
3456
|
menuContainerStyle,
|
|
3457
3457
|
activeColor,
|
|
3458
3458
|
keepPlaceholderOnFocus = false,
|
|
3459
|
-
selectedItemTextStyle
|
|
3459
|
+
selectedItemTextStyle,
|
|
3460
|
+
disable
|
|
3460
3461
|
} = props;
|
|
3461
3462
|
const [value, setValue] = React.useState(defaultValue);
|
|
3462
3463
|
const [isFocus, setIsFocus] = React.useState(false);
|
|
@@ -3528,7 +3529,8 @@ const CustomDropdown = (props) => {
|
|
|
3528
3529
|
itemTextStyle,
|
|
3529
3530
|
containerStyle: menuContainerStyle,
|
|
3530
3531
|
activeColor,
|
|
3531
|
-
itemContainerStyle: [styles$8.itemListStyle, itemContainerStyle]
|
|
3532
|
+
itemContainerStyle: [styles$8.itemListStyle, itemContainerStyle],
|
|
3533
|
+
disable
|
|
3532
3534
|
}
|
|
3533
3535
|
));
|
|
3534
3536
|
};
|