decord/source/design/components/Pile/native/AvatarDuoPile.native.tsx
2026-09-02 09:53:35 +00:00

36 lines
1.3 KiB
TypeScript

// Module ID: 14043
// Function ID: 14044
// Name: AvatarDuoPile
// Dependencies: [19, 21, 9284, 9286, 8106, 12, 9441, 2]
// Exports: AvatarDuoPile
// Module 14043 (AvatarDuoPile)
import noopAll from "noop" /* 19 */;
import SolidCutout from "SolidCutout" /* 8106 */;
import Pile from "Pile" /* 9284 */;
import { jsx } from "jsxProd" /* 21 */;
require = arg1;
noopAll;
const result = require("set").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(9286);
aria_label = tmp3Result.getListSummaryLabel(merged.names);
}
const obj = { aria-label, shape: 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(9441).AVATAR_SIZE_MAP[size];
}
obj[2] = mapped;
obj[6] = size.children;
return jsx(Pile.Pile, { aria-label, shape: SolidCutout.CutoutShape.Circle, size: null, gap: 4, depthX: 0.5, depthY: 0.5, children: null });
};