36 lines
1.3 KiB
TypeScript
36 lines
1.3 KiB
TypeScript
// Module ID: 13634
|
|
// Function ID: 13635
|
|
// Name: AvatarDuoPile
|
|
// Dependencies: [19, 21, 11267, 12177, 8447, 12, 12510, 2]
|
|
// Exports: AvatarDuoPile
|
|
|
|
// Module 13634 (AvatarDuoPile)
|
|
import noopAll from "noop" /* 19 */;
|
|
import SolidCutout from "SolidCutout" /* 8447 */;
|
|
import Pile from "Pile" /* 11267 */;
|
|
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(12177);
|
|
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(12510).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 });
|
|
};
|