2026-09-10 19:12:31 +00:00
|
|
|
// Module ID: 6658
|
|
|
|
|
// Function ID: 6659
|
2026-09-05 10:56:28 +00:00
|
|
|
// Name: getRequiredFieldA11yName
|
|
|
|
|
// Dependencies: [1114, 2]
|
|
|
|
|
// Exports: getRequiredFieldA11yName
|
|
|
|
|
|
2026-09-10 19:12:31 +00:00
|
|
|
// Module 6658 (getRequiredFieldA11yName)
|
2026-09-10 05:38:07 +00:00
|
|
|
import util from "util" /* 1114 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-09-05 10:56:28 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("design/components/Input/native/getRequiredFieldA11yName.native.tsx");
|
2026-09-05 10:56:28 +00:00
|
|
|
|
|
|
|
|
export const getRequiredFieldA11yName = function getRequiredFieldA11yName(accessibilityLabel, required) {
|
|
|
|
|
let combined;
|
|
|
|
|
if (null != accessibilityLabel) {
|
|
|
|
|
if ("" !== accessibilityLabel) {
|
|
|
|
|
if (true === required) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const intl = util.intl;
|
2026-09-05 10:56:28 +00:00
|
|
|
const _HermesInternal = HermesInternal;
|
2026-09-10 05:38:07 +00:00
|
|
|
combined = "" + accessibilityLabel + " (" + intl.string(util.t.EkokLy) + ")";
|
2026-09-05 10:56:28 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return combined;
|
|
|
|
|
};
|