Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,37 @@
|
||||
/* Metro module 9790; source: design/components/Modal/native/ModalActionButton.native.tsx; dependencies: [31, 27, 33, 4501, 4578, 2] */
|
||||
function _fun76737(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76737, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9976:6, offset: 0x01de30bf, size: 213 bytes, params: 8, frame: 20
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_2 = (require(27) /* metro dependency 27 */).View;
|
||||
const value = require(33) /* metro dependency 33 */;
|
||||
const env0_3 = value.jsx;
|
||||
const env0_4 = value.Fragment;
|
||||
const env0_5 = value.jsxs;
|
||||
const env0_6 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({spacer: {marginTop: 12}});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Modal/native/ModalActionButton.native.tsx');
|
||||
exports.ModalActionButton = ModalActionButton;
|
||||
}
|
||||
|
||||
function ModalActionButton(a0) { // fn#76738, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9976:320, offset: 0x01de3194, size: 184 bytes, params: 2, frame: 22
|
||||
const variant = a0.variant;
|
||||
const value = Object.create(null);
|
||||
value.variant = 0;
|
||||
const value2 = copyDataProperties({}, a0, value, undefined);
|
||||
const styles = useStyles();
|
||||
const jsxRuntimeEnv0_4Binding = jsxRuntimeEnv0_4;
|
||||
const r6 = variant === 'secondary' && <View style={styles.spacer} />;
|
||||
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
|
||||
return (
|
||||
<>
|
||||
{r6}
|
||||
<Button
|
||||
{...value2}
|
||||
{...{['variant']: variant}}
|
||||
{...{['size']: 'lg'}}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user