31 lines
1.8 KiB
TypeScript
31 lines
1.8 KiB
TypeScript
/* Metro module 14407; source: modules/home_drawer/native/HomeDrawerShared.tsx; dependencies: [31, 27, 33, 4501, 2] */
|
|
function _fun109068(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#109068, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14604:6, offset: 0x0233c12b, size: 234 bytes, params: 8, frame: 20
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
importAll(31) /* metro dependency 31 */;
|
|
const env0_0 = (require(27) /* metro dependency 27 */).View;
|
|
const value = require(33) /* metro dependency 33 */;
|
|
const env0_1 = value.jsxs;
|
|
const env0_2 = value.jsx;
|
|
const env0_3 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({container: {'flex': 1,
|
|
'flexDirection': 'row', 'alignItems': 'center', 'justifyContent': 'space-between', 'gap': 12},
|
|
titleContainer: {'flex': 1, 'flexDirection': 'column', 'justifyContent': 'center'},
|
|
rightContainer: {overflow: 'hidden'}});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/home_drawer/native/HomeDrawerShared.tsx');
|
|
exports.HomeDrawerSharedItem = HomeDrawerSharedItem;
|
|
}
|
|
|
|
function HomeDrawerSharedItem({title, subtitle, right}) { // fn#109069, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14604:479, offset: 0x0233c215, size: 148 bytes, params: 2, frame: 20
|
|
const styles = useStyles();
|
|
return (
|
|
<View style={styles.container}>
|
|
<View style={styles.titleContainer}>
|
|
{title}
|
|
{subtitle}
|
|
</View>
|
|
{right != null ? <View style={styles.rightContainer}>{right}</View> : null}
|
|
</View>
|
|
);
|
|
}
|
|
|