decord/source/design/components/Pile/native/AvatarDuoPile.native.tsx
2026-08-13 07:00:46 +00:00

33 lines
1.2 KiB
TypeScript

// Module ID: 13496
// Function ID: 13497
// Name: AvatarDuoPile
// Dependencies: [19, 21, 11153, 12038, 8341, 12, 12371, 2]
// Exports: AvatarDuoPile
// Module 13496 (AvatarDuoPile)
import "noop";
import { jsx } from "jsxProd";
const require = arg1;
const result = require("Pile").fileFinishedImporting("design/components/Pile/native/AvatarDuoPile.native.tsx");
export const AvatarDuoPile = function AvatarDuoPile(size) {
size = size.size;
const merged = Object.assign(size, Object.create(null));
if ("aria-label" in merged) {
aria_label = merged["aria-label"];
} else {
let tmp3Result = tmp3(12038);
aria_label = tmp3Result.getListSummaryLabel(merged.names);
}
const obj = { aria-label, shape: require(8341) /* SolidCutout */.CutoutShape.Circle, size: null, gap: 4, depthX: 0.5, depthY: 0.5, children: null };
tmp3Result = tmp3(12);
if (tmp3Result.isArray(size)) {
let mapped = size.map((arg0) => callback(table[6]).AVATAR_SIZE_MAP[arg0]);
} else {
mapped = tmp3(12371).AVATAR_SIZE_MAP[size];
}
obj[2] = mapped;
obj[6] = size.children;
return jsx(require(11153) /* Pile */.Pile, { aria-label, shape: require(8341) /* SolidCutout */.CutoutShape.Circle, size: null, gap: 4, depthX: 0.5, depthY: 0.5, children: null });
};