@mcf/lib-ui 2.4.31 → 2.4.32
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/dist/@types/Component/DropdownNew/DropdownNew.constants.d.ts +2 -2
- package/dist/@types/Component/DropdownNew/DropdownNew.d.ts +2 -2
- package/dist/@types/Component/DropdownNew/index.d.ts +1 -0
- package/dist/@types/Component/Modal/ConfirmationModal.d.ts +1 -0
- package/dist/@types/Component/Modal/Modal.d.ts +1 -0
- package/dist/@types/Component/Modal/NotificationModal.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ export declare enum DropdownVariant {
|
|
|
13
13
|
Multiline = "MULTILINE",
|
|
14
14
|
MultiSelect = "MULTISELECT"
|
|
15
15
|
}
|
|
16
|
-
export interface
|
|
16
|
+
export interface DropdownProps extends Props<IOption, boolean, GroupBase<IOption>> {
|
|
17
17
|
width: string;
|
|
18
18
|
primaryLabel?: string;
|
|
19
19
|
secondaryLabel?: string;
|
|
@@ -26,5 +26,5 @@ export interface IDropdownProps extends Props<IOption, boolean, GroupBase<IOptio
|
|
|
26
26
|
};
|
|
27
27
|
errorMsg?: string;
|
|
28
28
|
data: IOption[] | IMultilineOption[];
|
|
29
|
-
variant
|
|
29
|
+
variant?: DropdownVariant;
|
|
30
30
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
declare const Dropdown: ({ width, isSearchable, isDisabled, primaryLabel, secondaryLabel, additionalInfo, errorMsg, placeholder, data, defaultValue, input, variant, }:
|
|
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;
|
|
4
4
|
export default Dropdown;
|