@mcf/lib-ui 2.4.40 → 2.4.42

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.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Props, GroupBase } from 'react-select';
2
+ import { Props, GroupBase, StylesConfig } from 'react-select';
3
3
  export interface IOption {
4
4
  label: string;
5
5
  value: string | number;
@@ -27,4 +27,5 @@ export interface DropdownProps extends Props<IOption, boolean, GroupBase<IOption
27
27
  errorMsg?: string;
28
28
  data: IOption[] | IMultilineOption[];
29
29
  variant?: DropdownVariant;
30
+ customStyles?: StylesConfig<IOption, boolean, GroupBase<IOption>>;
30
31
  }
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { DropdownProps } from './DropdownNew.constants';
3
- declare const Dropdown: ({ width, isSearchable, isDisabled, primaryLabel, secondaryLabel, additionalInfo, errorMsg, placeholder, data, defaultValue, input, variant, }: DropdownProps) => JSX.Element;
3
+ declare const Dropdown: ({ width, isSearchable, isDisabled, primaryLabel, secondaryLabel, additionalInfo, errorMsg, placeholder, data, input, variant, customStyles, }: DropdownProps) => JSX.Element;
4
4
  export default Dropdown;