25 lines
1.9 KiB
TypeScript
25 lines
1.9 KiB
TypeScript
/* Metro module 8511; source: modules/user_profile/native/UserProfileGradientContainer.tsx; dependencies: [31, 33, 8512, 4589, 2] */
|
|
import LinearGradient from '../../../by-id/module-04589-LinearGradient.js'; /* Metro dependency 4589 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
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 UseUserProfileGradientColorsModule from '../hooks/native/useUserProfileGradientColors.tsx'; /* Metro dependency 8512 */
|
|
|
|
function _fun67454(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67454, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8696:6, offset: 0x01c2360c, size: 148 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = ReactModule;
|
|
value = value.memo(_fun67455);
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/user_profile/native/UserProfileGradientContainer.tsx');
|
|
exports.default = value;
|
|
function _fun67455({primaryColor, secondaryColor, fallbackBackground, containerStyle, children}) { // fn#67455, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8696:130, offset: 0x01c236a0, size: 112 bytes, params: 2, frame: 20
|
|
return ((Component) => <Component colors={(UseUserProfileGradientColorsModule).useUserProfileGradientColors(primaryColor,
|
|
secondaryColor,
|
|
fallbackBackground)} style={containerStyle}>{children}</Component>)(LinearGradient);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun67454, 8511, [31, 33, 8512, 4589, 2]) /* metro module 8511, dependencies: [31, 33, 8512, 4589, 2] */;
|