decord/source/modules/nuf/native/components/SkipHeaderButton.tsx
2026-07-28 08:39:19 +00:00

39 lines
1.5 KiB
TypeScript

// Module ID: 11762
// Function ID: 91169
// Name: SkipHeaderButton
// Dependencies: [31, 33, 4165, 689, 1212, 9094, 2]
// Exports: default
// Module 11762 (SkipHeaderButton)
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");
export default function SkipHeaderButton(label) {
const tmp = _createForOfIteratorHelperLoose();
label = label.label;
if (null == label) {
const intl = require(1212) /* getSystemLocale */.intl;
label = intl.string(require(1212) /* getSystemLocale */.t["5Wxrcd"]);
}
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;
return jsx(require(9094) /* GenericHeaderTitle */.HeaderTextButton, {});
};