decord/source/modules/nuf/native/components/SkipHeaderButton.tsx

40 lines
1.5 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 11752
// Function ID: 91263
2026-07-20 16:05:17 +00:00
// Name: SkipHeaderButton
2026-07-24 07:16:23 +00:00
// Dependencies: [31, 33, 4130, 689, 1212, 9158, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-24 07:16:23 +00:00
// Module 11752 (SkipHeaderButton)
2026-07-23 10:11:24 +00:00
import "result";
import { jsx } from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
const require = arg1;
_createForOfIteratorHelperLoose = {};
_createForOfIteratorHelperLoose = { color: require("_createForOfIteratorHelperLoose").colors.INTERACTIVE_TEXT_DEFAULT };
_createForOfIteratorHelperLoose.button = _createForOfIteratorHelperLoose;
_createForOfIteratorHelperLoose.insideNavigatorButton = { paddingRight: 16 };
_createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose);
const result = require("_createForOfIteratorHelperLoose").fileFinishedImporting("modules/nuf/native/components/SkipHeaderButton.tsx");
2026-07-20 16:05:17 +00:00
export default function SkipHeaderButton(label) {
2026-07-23 10:11:24 +00:00
const tmp = _createForOfIteratorHelperLoose();
2026-07-20 16:05:17 +00:00
label = label.label;
if (null == label) {
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
label = intl.string(require(1212) /* getSystemLocale */.t["5Wxrcd"]);
2026-07-20 16:05:17 +00:00
}
const obj = {};
const merged = Object.assign(label);
const items = [tmp.button, ];
let prop;
if (label.insideNavigator) {
prop = tmp.insideNavigatorButton;
}
items[1] = prop;
obj["labelStyle"] = items;
obj["label"] = label;
obj["accessibilityLabel"] = label;
2026-07-24 07:16:23 +00:00
return jsx(require(9158) /* GenericHeaderTitle */.HeaderTextButton, {});
2026-07-20 16:05:17 +00:00
};