@steroidsjs/core 3.0.0-beta.16 → 3.0.0-beta.17
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/package.json
CHANGED
|
@@ -13,8 +13,8 @@ export type ItemSwitchType = ContentType | 'group' | string;
|
|
|
13
13
|
export interface IDropDownFieldItem {
|
|
14
14
|
id: number | string;
|
|
15
15
|
label: string;
|
|
16
|
-
contentType?: ContentType;
|
|
17
|
-
contentSrc?:
|
|
16
|
+
contentType?: ContentType | string;
|
|
17
|
+
contentSrc?: string | React.ReactElement;
|
|
18
18
|
}
|
|
19
19
|
export interface IDropDownFieldItemViewProps extends IAccordionCommonViewProps, Pick<IDropDownFieldProps, 'itemsContent'> {
|
|
20
20
|
item: IDropDownFieldItem;
|
|
@@ -79,8 +79,8 @@ export interface IDropDownFieldProps extends IFieldWrapperInputProps, Omit<IData
|
|
|
79
79
|
* @example {type: 'icon', src: 'user'}
|
|
80
80
|
*/
|
|
81
81
|
itemsContent?: {
|
|
82
|
-
type: ContentType;
|
|
83
|
-
src?:
|
|
82
|
+
type: ContentType | string;
|
|
83
|
+
src?: string | React.ReactElement;
|
|
84
84
|
};
|
|
85
85
|
/**
|
|
86
86
|
* Элементы вложенные внутрь DropDownField
|