Shared: Selector: Added original icon size at TSelectorItemLogo
This commit is contained in:
parent
16350b4d50
commit
6fef4648b9
@ -391,24 +391,27 @@ export type FooterProps = TSelectorFooterSubmitButton &
|
|||||||
|
|
||||||
type TSelectorItemLogo =
|
type TSelectorItemLogo =
|
||||||
| {
|
| {
|
||||||
color?: undefined;
|
|
||||||
icon?: undefined;
|
|
||||||
avatar: string;
|
avatar: string;
|
||||||
role?: AvatarRole;
|
color?: undefined;
|
||||||
hasAvatar?: boolean;
|
hasAvatar?: boolean;
|
||||||
|
icon?: undefined;
|
||||||
|
iconOriginal?: string;
|
||||||
|
role?: AvatarRole;
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
hasAvatar?: undefined;
|
|
||||||
color: string;
|
|
||||||
icon?: undefined;
|
|
||||||
avatar?: undefined;
|
avatar?: undefined;
|
||||||
|
color: string;
|
||||||
|
hasAvatar?: undefined;
|
||||||
|
icon?: undefined;
|
||||||
|
iconOriginal?: string;
|
||||||
role?: undefined;
|
role?: undefined;
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
hasAvatar?: undefined;
|
|
||||||
color?: undefined;
|
|
||||||
icon: string;
|
|
||||||
avatar?: undefined;
|
avatar?: undefined;
|
||||||
|
color?: undefined;
|
||||||
|
hasAvatar?: undefined;
|
||||||
|
icon: string;
|
||||||
|
iconOriginal: string;
|
||||||
role?: undefined;
|
role?: undefined;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -31,9 +31,10 @@ export const convertToItems = (folders: TRoom[]) => {
|
|||||||
const { id, title, roomType, logo, shared } = folder;
|
const { id, title, roomType, logo, shared } = folder;
|
||||||
|
|
||||||
const icon = logo.medium;
|
const icon = logo.medium;
|
||||||
|
const iconOriginal = logo.original;
|
||||||
const color = logo.color;
|
const color = logo.color;
|
||||||
|
|
||||||
return { id, label: title, icon, color, roomType, shared };
|
return { id, label: title, icon, iconOriginal, color, roomType, shared };
|
||||||
});
|
});
|
||||||
|
|
||||||
return items;
|
return items;
|
||||||
|
Loading…
Reference in New Issue
Block a user