decord/source/modules/user_profile/native/UserProfilePrivateInfoBanner.tsx

35 lines
1.6 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 12113
// Function ID: 94911
2026-07-20 16:05:17 +00:00
// Name: UserProfilePrivateInfoBanner
2026-07-25 08:10:48 +00:00
// Dependencies: [27, 33, 4131, 689, 4127, 1212, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-27 11:26:19 +00:00
// Module 12113 (UserProfilePrivateInfoBanner)
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
import { jsx } from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
2026-07-20 16:05:17 +00:00
let obj = {};
2026-07-23 10:11:24 +00:00
obj = { padding: require("_createForOfIteratorHelperLoose").space.PX_12, borderRadius: require("_createForOfIteratorHelperLoose").radii.lg, borderWidth: 1, borderColor: require("_createForOfIteratorHelperLoose").colors.BORDER_MUTED, backgroundColor: require("_createForOfIteratorHelperLoose").colors.BACKGROUND_SURFACE_HIGH };
2026-07-20 16:05:17 +00:00
obj.banner = obj;
2026-07-23 10:11:24 +00:00
let closure_4 = _createForOfIteratorHelperLoose.createStyles(obj);
const result = require("_createForOfIteratorHelperLoose").fileFinishedImporting("modules/user_profile/native/UserProfilePrivateInfoBanner.tsx");
2026-07-20 16:05:17 +00:00
export default function UserProfilePrivateInfoBanner(username) {
const containerBackground = username.containerBackground;
let obj = {};
const items = [callback().banner, ];
let tmp3 = null != containerBackground;
if (tmp3) {
obj = { backgroundColor: containerBackground };
tmp3 = obj;
}
items[1] = tmp3;
obj.style = items;
obj = { variant: "text-sm/normal" };
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
obj.children = intl.format(require(1212) /* getSystemLocale */.t.P8ij6Z, { username: username.username });
2026-07-25 08:10:48 +00:00
obj.children = jsx(require(4127) /* Text */.Text, { variant: "text-sm/normal" });
2026-07-23 10:11:24 +00:00
return <View variant="text-sm/normal" />;
2026-07-20 16:05:17 +00:00
};