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

41 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 12673
// Function ID: 12674
2026-07-20 16:05:17 +00:00
// Name: UserProfilePrivateInfoBanner
2026-08-25 06:04:03 +00:00
// Dependencies: [17, 21, 4380, 712, 4376, 1236, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 12673 (UserProfilePrivateInfoBanner)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
import ThemesDefault from "Themes" /* 712 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
2026-08-25 06:04:03 +00:00
import Text from "Text" /* 4376 */;
import createCacheKey from "createCacheKey" /* 4380 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const View = get_ActivityIndicator.View;
const jsx = jsxProd.jsx;
2026-07-29 08:29:29 +00:00
let obj = { banner: null };
2026-08-24 06:08:38 +00:00
obj = { padding: ThemesDefault.space.PX_12, borderRadius: ThemesDefault.radii.lg, borderWidth: 1, borderColor: ThemesDefault.colors.BORDER_MUTED, backgroundColor: ThemesDefault.colors.BACKGROUND_SURFACE_HIGH };
2026-07-29 08:29:29 +00:00
obj[0] = obj;
let closure_4 = createCacheKey.createStyles(obj);
2026-08-24 06:08:38 +00:00
const result = set.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 };
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[1] = intl.format(getSystemLocale.t.P8ij6Z, { username: username.username });
obj[1] = jsx(Text.Text, { variant: "text-sm/normal", children: null });
2026-07-29 08:29:29 +00:00
return <View variant="text-sm/normal">{null}</View>;
2026-07-20 16:05:17 +00:00
};