dhre-ui-kit 0.0.179 → 0.0.181

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.mjs CHANGED
@@ -219,7 +219,7 @@ const theme = {
219
219
  },
220
220
  [Theme.BORDER_SEPRATOR]: {
221
221
  light: "#F5F5F5",
222
- dark: "#404040"
222
+ dark: "#282828"
223
223
  },
224
224
  [Theme.BORDER_SEPERATOR_HEADER]: {
225
225
  light: "#E1E1E1",
@@ -3335,28 +3335,29 @@ const styles$8 = StyleSheet.create({
3335
3335
  }
3336
3336
  });
3337
3337
 
3338
- const CustomDropdown = ({
3339
- data,
3340
- labelField = "label",
3341
- valueField = "value",
3342
- label,
3343
- placeholder,
3344
- containerStyle,
3345
- dropdownStyle,
3346
- dropdownFocusStyle,
3347
- placeholderStyle,
3348
- selectedTextStyle,
3349
- iconStyle,
3350
- labelStyle,
3351
- labelFocusStyle,
3352
- defaultValue,
3353
- iconColor,
3354
- itemTextStyle,
3355
- onValueChange,
3356
- itemContainerStyle,
3357
- menuContainerStyle,
3358
- activeColor
3359
- }) => {
3338
+ const CustomDropdown = (props) => {
3339
+ const {
3340
+ data,
3341
+ labelField = "label",
3342
+ valueField = "value",
3343
+ label,
3344
+ placeholder,
3345
+ containerStyle,
3346
+ dropdownStyle,
3347
+ dropdownFocusStyle,
3348
+ placeholderStyle,
3349
+ selectedTextStyle,
3350
+ iconStyle,
3351
+ labelStyle,
3352
+ labelFocusStyle,
3353
+ defaultValue,
3354
+ iconColor,
3355
+ itemTextStyle,
3356
+ onValueChange,
3357
+ itemContainerStyle,
3358
+ menuContainerStyle,
3359
+ activeColor
3360
+ } = props;
3360
3361
  const [value, setValue] = useState(defaultValue);
3361
3362
  const [isFocus, setIsFocus] = useState(false);
3362
3363
  const renderLabel = () => {
@@ -3386,6 +3387,7 @@ const CustomDropdown = ({
3386
3387
  return /* @__PURE__ */ React.createElement(View, { style: [styles$7.container, containerStyle] }, label && renderLabel(), /* @__PURE__ */ React.createElement(
3387
3388
  Dropdown,
3388
3389
  {
3390
+ ...props,
3389
3391
  style: [
3390
3392
  styles$7.dropdown,
3391
3393
  dropdownStyle,