44 lines
2.4 KiB
TypeScript
44 lines
2.4 KiB
TypeScript
/* Metro module 8002; source: design/void/LegacyText/native/LegacyText.tsx; dependencies: [31, 27, 661, 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 ConstantsModule from '../../../../Constants.tsx'; /* Metro dependency 661 */
|
|
import * as CreateStylesModule from '../../../components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
|
|
|
|
function _fun63585(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63585, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8180:6, offset: 0x01b8698c, size: 223 bytes, params: 8, frame: 21
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = ReactModule;
|
|
const Fonts = (ConstantsModule).Fonts;
|
|
const createStyles = CreateStylesModule.createStyles;
|
|
const PRIMARY_MEDIUM = Fonts.PRIMARY_MEDIUM;
|
|
const env0_2 = Reflect.apply(createStyles, CreateStylesModule, [{text: {fontFamily: PRIMARY_MEDIUM,
|
|
includeFontPadding: false}}]);
|
|
value = value.forwardRef(_fun63586);
|
|
(FileImportTrackerModule).fileFinishedImporting('design/void/LegacyText/native/LegacyText.tsx');
|
|
exports.default = value;
|
|
function _fun63586(a0, a1) { // fn#63586, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8180:250, offset: 0x01b86a6b, size: 120 bytes, params: 3, frame: 19
|
|
const style = a0.style;
|
|
const children = a0.children;
|
|
const value = Object.create(null);
|
|
value.style = 0;
|
|
value.children = 0;
|
|
const value2 = copyDataProperties({}, a0, value, undefined);
|
|
const styles = useStyles();
|
|
return (
|
|
<Text
|
|
ref={a1}
|
|
{...value2}
|
|
{...{['style']: [styles.text, style]}}
|
|
>
|
|
{children}
|
|
</Text>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun63585, 8002, [31, 27, 661, 33, 4501,
|
|
2]) /* metro module 8002, dependencies: [31, 27, 661, 33, 4501, 2] */;
|