35 lines
2.0 KiB
TypeScript
35 lines
2.0 KiB
TypeScript
/* Metro module 6985; source: design/components/TextField/native/TextField.native.tsx; dependencies: [31, 33, 6986, 6987, 6991, 6994, 2] */
|
|
function _fun55376(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#55376, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7163:6, offset: 0x013a5085, size: 140 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_2 = (require(33) /* metro dependency 33 */).jsx;
|
|
value = value.forwardRef(_fun55377);
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/TextField/native/TextField.native.tsx');
|
|
exports.TextField = value;
|
|
}
|
|
|
|
function _fun55377(a0, a1) { // fn#55377, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7163:136, offset: 0x013a5111, size: 249 bytes, params: 3, frame: 19
|
|
const value2 = undefined;
|
|
const value3 = (require(6986) /* metro dependency 6986: useTextFieldNative */).useTextField(a0, a1);
|
|
const innerRef = value3.innerRef;
|
|
const inputProps = value3.inputProps;
|
|
const value4 = (require(6987) /* metro dependency 6987: useInputClearButtonNative */).useInputClearButtonConfig(a0,
|
|
value3.state);
|
|
const {leading, trailing,
|
|
inputStyle} = (require(6991) /* metro dependency 6991: useInputAttachmentsNative */).useInputAttachments(a0,
|
|
value4 != null ? {trailing: value4.content, trailingPressableProps: value4.pressableProps} : value2);
|
|
const BaseTextField = (require(6994) /* metro dependency 6994: BaseTextFieldNative */).BaseTextField;
|
|
return (
|
|
<BaseTextField
|
|
{...inputProps}
|
|
{...{['ref']: innerRef}}
|
|
{...{['leading']: leading}}
|
|
{...{['trailing']: trailing}}
|
|
{...{['inputStyle']: inputStyle}}
|
|
/>
|
|
);
|
|
}
|
|
|