43 lines
1.4 KiB
TypeScript
43 lines
1.4 KiB
TypeScript
// Module ID: 12470
|
|
// Function ID: 12471
|
|
// Name: SkipHeaderButton
|
|
// Dependencies: [19, 21, 4478, 709, 1233, 7618, 2]
|
|
// Exports: default
|
|
|
|
// Module 12470 (SkipHeaderButton)
|
|
import noopAll from "noop" /* 19 */;
|
|
import ThemesDefault from "Themes" /* 709 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1233 */;
|
|
import GenericHeaderTitle from "GenericHeaderTitle" /* 7618 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
import createCacheKey from "createCacheKey" /* 4478 */;
|
|
|
|
require = arg1;
|
|
noopAll;
|
|
createCacheKey = { button: null, insideNavigatorButton: null };
|
|
createCacheKey = { color: ThemesDefault.colors.INTERACTIVE_TEXT_DEFAULT };
|
|
createCacheKey[0] = createCacheKey;
|
|
createCacheKey[1] = { paddingRight: 16 };
|
|
let closure_3 = createCacheKey.createStyles(createCacheKey);
|
|
const result = require("set").fileFinishedImporting("modules/nuf/native/components/SkipHeaderButton.tsx");
|
|
|
|
export default function SkipHeaderButton(label) {
|
|
const tmp = callback();
|
|
label = label.label;
|
|
if (label == null) {
|
|
const intl = getSystemLocale.intl;
|
|
label = intl.string(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(GenericHeaderTitle.HeaderTextButton, {});
|
|
};
|