Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,69 @@
|
||||
/* Metro module 6807; source: design/components/Sheet/native/ActionSheetRow.native.tsx; dependencies: [31, 27, 33, 6238, 6242, 6231, 6808, 2] */
|
||||
function _fun53554(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53554, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6985:6, offset: 0x0134ec97, size: 206 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const closure = ActionSheetRow;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const value = importAll(31) /* metro dependency 31 */;
|
||||
const env0_3 = (require(27) /* metro dependency 27 */).View;
|
||||
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const env0_5 = value.createContext('default');
|
||||
closure.Icon = Icon_53556;
|
||||
closure.Group = Group_53557;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Sheet/native/ActionSheetRow.native.tsx');
|
||||
exports.ActionSheetRow = closure;
|
||||
exports.ActionSheetSwitchRow = ActionSheetSwitchRow;
|
||||
}
|
||||
|
||||
function ActionSheetRow(a0) { // fn#53555, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6985:164, offset: 0x0134ed65, size: 166 bytes, params: 2, frame: 23
|
||||
const label = a0.label;
|
||||
let variant = a0.variant;
|
||||
variant = variant === undefined ? 'default' : variant;
|
||||
const arrow = a0.arrow;
|
||||
const icon = a0.icon;
|
||||
const object2 = {'label': 0, 'variant': 0, 'arrow': 0, 'icon': 0};
|
||||
silentSetPrototypeOf(object2, null, undefined);
|
||||
const value = copyDataProperties({}, a0, object2, undefined);
|
||||
const Provider = env0_5.Provider;
|
||||
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
|
||||
return (
|
||||
<Provider value={variant}>
|
||||
<TableRow
|
||||
variant={variant}
|
||||
label={label}
|
||||
arrow={arrow}
|
||||
icon={icon}
|
||||
{...value}
|
||||
/>
|
||||
</Provider>
|
||||
);
|
||||
}
|
||||
|
||||
function Icon_53556({source, IconComponent}) { // fn#53556, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6985:359, offset: 0x0134ee0b, size: 103 bytes, params: 2, frame: 17
|
||||
const value2 = env0_2.useContext(env0_5);
|
||||
const TableRowIcon = (require(6242) /* metro dependency 6242: TableRowIconNative */).TableRowIcon;
|
||||
return (
|
||||
<TableRowIcon
|
||||
source={source}
|
||||
IconComponent={IconComponent ?? undefined}
|
||||
variant={value2}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
function Group_53557({children, title, hasIcons}) { // fn#53557, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6985:542, offset: 0x0134ee72, size: 93 bytes, params: 2, frame: 18
|
||||
const TableRowGroup = (require(6231) /* metro dependency 6231: TableRowGroupNative */).TableRowGroup;
|
||||
return (
|
||||
<View>
|
||||
<TableRowGroup hasIcons={hasIcons} title={title}>
|
||||
{children}
|
||||
</TableRowGroup>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
function ActionSheetSwitchRow(a0) { // fn#53558, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6985:830, offset: 0x0134eecf, size: 55 bytes, params: 2, frame: 14
|
||||
const TableSwitchRow = (require(6808) /* metro dependency 6808: TableSwitchRowNative */).TableSwitchRow;
|
||||
return <TableSwitchRow {...a0} />;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user