Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,38 @@
|
||||
/* Metro module 7981; source: design/components/TextInput/native/TextInput.native.tsx; dependencies: [31, 33, 7682, 6985, 477, 2] */
|
||||
function _fun63504(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63504, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8159:6, offset: 0x01b82dec, size: 144 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let value = importAll(31) /* metro dependency 31 */;
|
||||
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
|
||||
value = value.forwardRef(_fun63505);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/TextInput/native/TextInput.native.tsx');
|
||||
exports.TextInput = value;
|
||||
}
|
||||
|
||||
function _fun63505(a0, a1) { // fn#63505, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8159:136, offset: 0x01b82e7c, size: 339 bytes, params: 3, frame: 26
|
||||
const label = a0.label;
|
||||
const accessibilityLabel = a0.accessibilityLabel;
|
||||
const errorMessage = a0.errorMessage;
|
||||
const status = a0.status;
|
||||
const value2 = env0_2.useId();
|
||||
const r14 = a0.fieldLabel ?? (typeof label !== 'string' ? undefined : label);
|
||||
const r15 = status ?? (errorMessage != null ? 'error' : undefined);
|
||||
const value6 = undefined;
|
||||
const Input = (require(7682) /* metro dependency 7682: InputNative */).Input;
|
||||
const inputProps = {...a0};
|
||||
inputProps['labelId'] = label != null ? value2 : value6;
|
||||
const TextField = (require(6985) /* metro dependency 6985: TextFieldNative */).TextField;
|
||||
const textFieldProps = {ref: a1, ...a0};
|
||||
textFieldProps['status'] = r15;
|
||||
textFieldProps['fieldLabel'] = r14;
|
||||
const value = require(477) /* metro dependency 477: PlatformUtils */;
|
||||
textFieldProps['accessibilityLabel'] = value.isAndroid() && label != null ? value6 : accessibilityLabel ?? (typeof label !== 'string' ? value6 : label);
|
||||
textFieldProps['accessibilityLabelledBy'] = label != null ? value2 : value6;
|
||||
return (
|
||||
<Input {...inputProps}>
|
||||
<TextField {...textFieldProps} />
|
||||
</Input>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user