36 lines
1.5 KiB
TypeScript
36 lines
1.5 KiB
TypeScript
// Module ID: 14922
|
|
// Function ID: 14923
|
|
// Name: FamilyCenterLinkRowWrapper
|
|
// Dependencies: [19, 21, 4560, 576, 7162, 5123, 8179, 2]
|
|
// Exports: default
|
|
|
|
// Module 14922 (FamilyCenterLinkRowWrapper)
|
|
import noopAll from "noop" /* 19 */;
|
|
import ThemesDefault from "Themes" /* 576 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
import createCacheKey from "createCacheKey" /* 4560 */;
|
|
|
|
const require = arg1;
|
|
noopAll;
|
|
createCacheKey = { container: null };
|
|
createCacheKey = { display: "flex", flexDirection: "row", alignItems: "center", paddingTop: 14, paddingBottom: ThemesDefault.space.PX_12, paddingHorizontal: ThemesDefault.space.PX_12 };
|
|
createCacheKey[0] = createCacheKey;
|
|
let closure_4 = createCacheKey.createStyles(createCacheKey);
|
|
const result = require("set").fileFinishedImporting("modules/parent_tools/native/FamilyCenterLinkWrapper.tsx");
|
|
|
|
export default function FamilyCenterLinkRowWrapper(userId) {
|
|
userId = userId.userId;
|
|
let analyticsLocations;
|
|
analyticsLocations = analyticsLocations(7162)().analyticsLocations;
|
|
let tmp3 = null;
|
|
if (undefined !== userId) {
|
|
const obj = { style: null, onPress: null, children: null };
|
|
obj[0] = tmp.container;
|
|
obj[1] = function onPress() {
|
|
analyticsLocations(closure_1_2[6])({ userId, disableCalls: true, disableMessage: true, sourceAnalyticsLocations: analyticsLocations });
|
|
};
|
|
obj[2] = userId.children;
|
|
tmp3 = jsx(userId(5123).PressableOpacity, { style: null, onPress: null, children: null });
|
|
}
|
|
return tmp3;
|
|
};
|