29 lines
1.6 KiB
TypeScript
29 lines
1.6 KiB
TypeScript
/* Metro module 11288; source: modules/chat/native/ChatViewWrapperBase.tsx; dependencies: [31, 33, 11286, 6517, 11287, 2] */
|
|
function _fun86172(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86172, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11474:6, offset: 0x01f8a7a1, size: 138 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
importAll(31) /* metro dependency 31 */;
|
|
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/chat/native/ChatViewWrapperBase.tsx');
|
|
exports.default = ChatViewWrapperBase;
|
|
}
|
|
|
|
function ChatViewWrapperBase({channelId, children, stickyHeader, style}) { // fn#86173, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11474:205, offset: 0x01f8a82b, size: 137 bytes, params: 2, frame: 20
|
|
const value2 = (importDefault(11286) /* metro dependency 11286: useChatViewPointerEventsAndroid */)(channelId);
|
|
const LayerScope = (require(6517) /* metro dependency 6517: LayerScopeNative */).LayerScope;
|
|
const StickyWrapper = (require(11287) /* metro dependency 11287: StickyWrapperNative */).StickyWrapper;
|
|
return (
|
|
<LayerScope>
|
|
<StickyWrapper
|
|
header={stickyHeader}
|
|
style={style}
|
|
pointerEvents={value2}
|
|
>
|
|
{children}
|
|
</StickyWrapper>
|
|
</LayerScope>
|
|
);
|
|
}
|
|
|