Files
customgroupbox/typings/CustomGroupboxProps.d.ts

28 lines
947 B
TypeScript
Raw Normal View History

2020-10-28 23:30:50 +01:00
/**
* This file was generated from CustomGroupbox.xml
* WARNING: All changes made to this file will be overwritten
* @author Mendix UI Content Team
*/
import { ComponentType, ReactNode } from "react";
import { DynamicValue, NativeIcon } from "mendix";
export interface CustomGroupboxProps<Style> {
name: string;
style: Style[];
header: ReactNode;
content?: ReactNode;
showDivider: boolean;
expandIcon?: DynamicValue<NativeIcon>;
collapseIcon?: DynamicValue<NativeIcon>;
}
export interface CustomGroupboxPreviewProps {
class: string;
style: string;
header: { widgetCount: number; renderer: ComponentType };
content: { widgetCount: number; renderer: ComponentType };
showDivider: boolean;
expandIcon: { type: "glyph"; iconClass: string; } | { type: "image"; imageUrl: string; } | null;
collapseIcon: { type: "glyph"; iconClass: string; } | { type: "image"; imageUrl: string; } | null;
}