Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,25 @@
|
||||
/* Metro module 4572; source: design/components/Stack/native/Stack.native.tsx; dependencies: [31, 27, 33, 4501, 2] */
|
||||
function _fun38820(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38820, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4750:6, offset: 0x010cb451, size: 173 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_0 = (require(27) /* metro dependency 27 */).View;
|
||||
const env0_1 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const env0_2 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(function(a0, a1, a2, a3) {
|
||||
return {stack: {width: '100%', gap: a0, alignItems: a2, justifyContent: a3,
|
||||
flexDirection: a1 !== 'horizontal' ? 'column' : 'row'}};
|
||||
});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Stack/native/Stack.native.tsx');
|
||||
exports.Stack = Stack;
|
||||
}
|
||||
|
||||
function Stack({spacing, direction, align, justify, children, style, onLayout}) { // fn#38822, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4750:366, offset: 0x010cb53f, size: 164 bytes, params: 2, frame: 21
|
||||
const styles = useStyles(spacing === undefined ? 8 : spacing, direction === undefined ? 'vertical' : direction,
|
||||
align === undefined ? 'stretch' : align, justify === undefined ? 'flex-start' : justify);
|
||||
return (
|
||||
<View style={[styles.stack, style]} onLayout={onLayout}>
|
||||
{children}
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user