33 lines
2.0 KiB
TypeScript
33 lines
2.0 KiB
TypeScript
/* Metro module 13431; source: modules/parent_tools/native/FamilyCenterLinkRow.tsx; dependencies: [31, 27, 5117, 33, 4501, 13432, 13433, 2] */
|
|
function _fun102160(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#102160, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13621:6, offset: 0x0222feca, size: 233 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
importAll(31) /* metro dependency 31 */;
|
|
const env0_2 = (require(27) /* metro dependency 27 */).View;
|
|
const env0_3 = (require(5117) /* metro dependency 5117: FamilyCenterConstants */).UserLinkStatus;
|
|
const value = require(33) /* metro dependency 33 */;
|
|
const env0_4 = value.jsx;
|
|
const env0_5 = value.jsxs;
|
|
const env0_6 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({actionContainer: {'flexDirection': 'row',
|
|
'alignItems': 'center', 'justifyContent': 'flex-end', 'height': '100%'}});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/parent_tools/native/FamilyCenterLinkRow.tsx');
|
|
exports.default = FamilyCenterLinkRow;
|
|
}
|
|
|
|
function FamilyCenterLinkRow({otherUser, actions}) { // fn#102161, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13621:390, offset: 0x0222ffb3, size: 156 bytes, params: 2, frame: 21
|
|
const styles = useStyles();
|
|
const FamilyCenterLinkWrapper = importDefault(13432) /* metro dependency 13432: FamilyCenterLinkWrapper */;
|
|
const id = otherUser.id;
|
|
const FamilyCenterRequestorDetails = importDefault(13433) /* metro dependency 13433: FamilyCenterRequestorDetails */;
|
|
const PENDING = UserLinkStatus.PENDING;
|
|
return (
|
|
<FamilyCenterLinkWrapper userId={id}>
|
|
<FamilyCenterRequestorDetails otherUser={otherUser} status={PENDING} />
|
|
<View style={styles.actionContainer}>
|
|
{actions}
|
|
</View>
|
|
</FamilyCenterLinkWrapper>
|
|
);
|
|
}
|
|
|