35 lines
2.1 KiB
TypeScript
35 lines
2.1 KiB
TypeScript
/* Metro module 10987; source: modules/search/native/components/HighlightText.tsx; dependencies: [31, 661, 33, 4501, 4000, 697, 1305, 2] */
|
|
function _fun84088(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#84088, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11173:6, offset: 0x01f38916, size: 282 bytes, params: 8, frame: 25
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
importAll(31) /* metro dependency 31 */;
|
|
const Fonts = (require(661) /* metro dependency 661: Constants */).Fonts;
|
|
const env0_2 = (require(33) /* metro dependency 33 */).jsx;
|
|
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
|
|
const createStyles = createStylesModule.createStyles;
|
|
const object = {};
|
|
const PRIMARY_BOLD = Fonts.PRIMARY_BOLD;
|
|
object.fontFamily = PRIMARY_BOLD;
|
|
const colorUtilsModule = require(4000) /* metro dependency 4000: ColorUtils */;
|
|
const hexOpacityToRgba = colorUtilsModule.hexOpacityToRgba;
|
|
const YELLOW_300 = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.YELLOW_300;
|
|
object.backgroundColor = Reflect.apply(hexOpacityToRgba, colorUtilsModule, [YELLOW_300, 0.3]);
|
|
const TEXT_STRONG = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_STRONG;
|
|
object.color = TEXT_STRONG;
|
|
const env0_3 = Reflect.apply(createStyles, createStylesModule, [{text: object}]);
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/search/native/components/HighlightText.tsx');
|
|
exports.default = _default_84089;
|
|
}
|
|
|
|
function _default_84089({children}) { // fn#84089, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11173:316, offset: 0x01f38a30, size: 74 bytes, params: 2, frame: 16
|
|
const styles = useStyles();
|
|
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
|
|
return (
|
|
<LegacyText style={styles.text}>
|
|
{children}
|
|
</LegacyText>
|
|
);
|
|
}
|
|
|