27 lines
1.6 KiB
TypeScript
27 lines
1.6 KiB
TypeScript
/* Metro module 11287; source: design/components/Sticky/native/StickyWrapper.native.tsx; dependencies: [31, 27, 33, 2] */
|
|
function _fun86170(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86170, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11473:6, offset: 0x01f8a643, size: 212 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
importAll(31) /* metro dependency 31 */;
|
|
let value = require(27) /* metro dependency 27 */;
|
|
const StyleSheet = value.StyleSheet;
|
|
const env0_0 = value.View;
|
|
value = require(33) /* metro dependency 33 */;
|
|
const env0_1 = value.jsx;
|
|
const env0_2 = value.jsxs;
|
|
const env0_3 = StyleSheet.create({wrapper: {'height': '100%', 'width': '100%'}, header: {'position': 'absolute',
|
|
'top': 0, 'left': 0, 'right': 0, 'zIndex': 1}});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Sticky/native/StickyWrapper.native.tsx');
|
|
exports.StickyWrapper = StickyWrapper;
|
|
}
|
|
|
|
function StickyWrapper({header, children, pointerEvents, style}) { // fn#86171, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11473:381, offset: 0x01f8a717, size: 138 bytes, params: 2, frame: 19
|
|
return (
|
|
<View style={[style, env0_3.wrapper]} pointerEvents={pointerEvents}>
|
|
{header != null ? <View style={env0_3.header}>{header}</View> : null}
|
|
{children}
|
|
</View>
|
|
);
|
|
}
|
|
|