decord/source/modules/parent_tools/native/FamilyCenterUsernameHeader.tsx

33 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 14204
// Function ID: 14205
2026-07-20 16:05:17 +00:00
// Name: FamilyCenterUsernameHeader
2026-08-12 06:57:52 +00:00
// Dependencies: [19, 17, 21, 4344, 4189, 4340, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-12 06:57:52 +00:00
// Module 14204 (FamilyCenterUsernameHeader)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
let c4;
let c5;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
({ jsx: c4, jsxs: c5 } = jsxProd);
let closure_6 = createCacheKey.createStyles({ container: { justifyContent: "center" } });
2026-07-23 10:11:24 +00:00
const result = require("jsxProd").fileFinishedImporting("modules/parent_tools/native/FamilyCenterUsernameHeader.tsx");
2026-07-20 16:05:17 +00:00
export default function FamilyCenterUsernameHeader(user) {
user = user.user;
2026-08-12 06:57:52 +00:00
let obj = importDefault(4189);
2026-07-20 16:05:17 +00:00
const name = obj.useName(user);
2026-07-29 08:29:29 +00:00
const tmp = callback3();
obj = { style: tmp.container, children: null };
2026-08-12 06:57:52 +00:00
const combined = " (@" + importDefault(4189).getUserTag(user, { decoration: "never" }) + ")";
2026-07-29 08:29:29 +00:00
obj = { variant: "text-md/semibold", color: "mobile-text-heading-primary", lineClamp: 1, children: null };
2026-08-12 06:57:52 +00:00
const items = [name, callback(require(4340) /* Text */.Text, { variant: "text-md/medium", color: "text-muted", lineClamp: 1, children: combined })];
2026-07-29 08:29:29 +00:00
obj[3] = items;
2026-08-12 06:57:52 +00:00
obj[1] = callback2(require(4340) /* Text */.Text, obj);
2026-07-20 16:05:17 +00:00
return callback(View, obj);
};