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

35 lines
1.5 KiB
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 12180
// Function ID: 12181
2026-07-20 16:05:17 +00:00
// Name: UserProfilePrivateInfoBanner
2026-07-29 08:29:29 +00:00
// Dependencies: [17, 21, 4189, 712, 4185, 1236, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-29 08:29:29 +00:00
// Module 12180 (UserProfilePrivateInfoBanner)
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
import { jsx } from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let obj = { banner: null };
obj = { padding: require("Themes").space.PX_12, borderRadius: require("Themes").radii.lg, borderWidth: 1, borderColor: require("Themes").colors.BORDER_MUTED, backgroundColor: require("Themes").colors.BACKGROUND_SURFACE_HIGH };
obj[0] = obj;
let closure_4 = createCacheKey.createStyles(obj);
const result = require("createCacheKey").fileFinishedImporting("modules/user_profile/native/UserProfilePrivateInfoBanner.tsx");
2026-07-20 16:05:17 +00:00
export default function UserProfilePrivateInfoBanner(username) {
const containerBackground = username.containerBackground;
const items = [callback().banner, ];
let tmp3 = null != containerBackground;
if (tmp3) {
2026-07-29 08:29:29 +00:00
let obj = { backgroundColor: null };
obj[0] = containerBackground;
2026-07-20 16:05:17 +00:00
tmp3 = obj;
}
2026-07-29 08:29:29 +00:00
obj = { style: items, children: null };
2026-07-20 16:05:17 +00:00
items[1] = tmp3;
2026-07-29 08:29:29 +00:00
obj = { variant: "text-sm/normal", children: null };
const intl = require(1236) /* getSystemLocale */.intl;
obj[1] = intl.format(require(1236) /* getSystemLocale */.t.P8ij6Z, { username: username.username });
obj[1] = jsx(require(4185) /* Text */.Text, { variant: "text-sm/normal", children: null });
return <View variant="text-sm/normal">{null}</View>;
2026-07-20 16:05:17 +00:00
};