42 lines
2.4 KiB
TypeScript
42 lines
2.4 KiB
TypeScript
/* Metro module 14407; source: modules/home_drawer/native/HomeDrawerShared.tsx; dependencies: [31, 27, 33, 4501, 2] */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
import * as CreateStylesModule from '../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
|
|
|
|
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});
|
|
ReactModule;
|
|
const env0_3 = (CreateStylesModule).createStyles({container: {'flex': 1,
|
|
'flexDirection': 'row', 'alignItems': 'center', 'justifyContent': 'space-between', 'gap': 12},
|
|
titleContainer: {'flex': 1, 'flexDirection': 'column', 'justifyContent': 'center'},
|
|
rightContainer: {overflow: 'hidden'}});
|
|
(FileImportTrackerModule).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>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun109068, 14407, [31, 27, 33, 4501, 2]) /* metro module 14407, dependencies: [31, 27, 33, 4501, 2] */;
|