Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
37 lines
1.6 KiB
TypeScript
37 lines
1.6 KiB
TypeScript
// Module ID: 7158
|
|
// Function ID: 7159
|
|
// Name: TextArea
|
|
// Dependencies: [109, 19, 21, 4326, 6678, 7159, 6679, 2]
|
|
|
|
// Module 7158 (TextArea)
|
|
import useFieldLabelA11yNative from "useFieldLabelA11yNative" /* 4326 */;
|
|
import Input from "Input" /* 6678 */;
|
|
import getRequiredFieldA11yName from "getRequiredFieldA11yName" /* 6679 */;
|
|
import TextAreaField from "TextAreaField" /* 7159 */;
|
|
import _objectWithoutProperties from "_objectWithoutProperties" /* 109 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
let closure_2 = ["labelId", "accessibilityLabel"];
|
|
const jsx = fn(21).jsx;
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("design/components/TextInput/native/TextArea.native.tsx");
|
|
|
|
export const TextArea = noop.forwardRef((required, ref) => {
|
|
const fieldLabelA11yNative = useFieldLabelA11yNative.useFieldLabelA11yNative(required);
|
|
const accessibilityLabel = fieldLabelA11yNative.accessibilityLabel;
|
|
const obj2 = {};
|
|
const merged = Object.assign(required);
|
|
obj2.labelId = fieldLabelA11yNative.labelId;
|
|
const obj3 = { ref };
|
|
const merged1 = Object.assign(required);
|
|
const merged2 = Object.assign(_objectWithoutProperties(fieldLabelA11yNative, closure_2));
|
|
const tmp2 = _objectWithoutProperties(fieldLabelA11yNative, closure_2);
|
|
let requiredFieldA11yName = getRequiredFieldA11yName.getRequiredFieldA11yName(accessibilityLabel, required.required);
|
|
if (requiredFieldA11yName == null) {
|
|
requiredFieldA11yName = accessibilityLabel;
|
|
}
|
|
obj3.accessibilityLabel = requiredFieldA11yName;
|
|
obj2.children = jsx(TextAreaField.TextAreaField, { ref });
|
|
return jsx(Input.Input, {});
|
|
});
|