43 lines
2.7 KiB
TypeScript
43 lines
2.7 KiB
TypeScript
/* Metro module 6985; source: design/components/TextField/native/TextField.native.tsx; dependencies: [31, 33, 6986, 6987, 6991, 6994, 2] */
|
|
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
import * as UseTextFieldNativeModule from './useTextField.native.tsx'; /* Metro dependency 6986 */
|
|
import * as UseInputClearButtonNativeModule from '../../Input/native/useInputClearButton.native.tsx'; /* Metro dependency 6987 */
|
|
import * as BaseTextFieldNativeModule from './BaseTextField.native.tsx'; /* Metro dependency 6994 */
|
|
|
|
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 = ReactModule;
|
|
value = value.forwardRef(_fun55377);
|
|
(FileImportTrackerModule).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 = (UseTextFieldNativeModule).useTextField(a0, a1);
|
|
const innerRef = value3.innerRef;
|
|
const inputProps = value3.inputProps;
|
|
const value4 = (UseInputClearButtonNativeModule).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 = (BaseTextFieldNativeModule).BaseTextField;
|
|
return (
|
|
<BaseTextField
|
|
{...inputProps}
|
|
{...{['ref']: innerRef}}
|
|
{...{['leading']: leading}}
|
|
{...{['trailing']: trailing}}
|
|
{...{['inputStyle']: inputStyle}}
|
|
/>
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun55376, 6985, [31, 33, 6986, 6987, 6991, 6994,
|
|
2]) /* metro module 6985, dependencies: [31, 33, 6986, 6987, 6991, 6994, 2] */;
|