2023-10-29 19:16:33 +01:00
|
|
|
export type SelectionInput = {
|
2023-11-04 17:21:35 +01:00
|
|
|
icon?: string;
|
|
|
|
label?: string;
|
|
|
|
labelTranslation?: string;
|
|
|
|
type?: string;
|
2023-10-29 19:16:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export default class Selection {
|
2023-11-04 17:21:35 +01:00
|
|
|
icon?: string;
|
|
|
|
label?: string;
|
|
|
|
labelTranslation?: string;
|
|
|
|
type?: string;
|
2023-10-29 19:16:33 +01:00
|
|
|
|
|
|
|
constructor({ icon, label, labelTranslation, type }: SelectionInput) {
|
|
|
|
this.icon = icon;
|
|
|
|
this.label = label;
|
|
|
|
this.labelTranslation = labelTranslation;
|
|
|
|
this.type = type;
|
|
|
|
}
|
|
|
|
}
|