33 lines
1.1 KiB
JavaScript
33 lines
1.1 KiB
JavaScript
// Module ID: 5160
|
|
// Function ID: 5161
|
|
// Name: HeaderTitle
|
|
// Dependencies: [19, 17, 21, 1481]
|
|
// Exports: default
|
|
|
|
// Module 5160 (HeaderTitle)
|
|
import "noop";
|
|
import get_ActivityIndicator from "get ActivityIndicator";
|
|
import { jsx } from "jsxProd";
|
|
|
|
let Platform;
|
|
let StyleSheet;
|
|
let obj1;
|
|
const require = arg1;
|
|
({ Animated: obj1, Platform, StyleSheet } = get_ActivityIndicator);
|
|
const styles = StyleSheet.create({ title: { fontSize: 20, fontFamily: "sans-serif-medium", fontWeight: "normal" } });
|
|
|
|
export default function HeaderTitle(tintColor) {
|
|
let text = tintColor.tintColor;
|
|
const merged = Object.assign(tintColor, Object.create(null));
|
|
let obj = require(1481) /* Link */;
|
|
obj = { accessibilityRole: "header", "aria-level": "1", numberOfLines: 1 };
|
|
const merged1 = Object.assign(merged);
|
|
const items = [title.title, , ];
|
|
if (undefined === text) {
|
|
text = obj.useTheme().colors.text;
|
|
}
|
|
items[1] = { color: text };
|
|
items[2] = tintColor.style;
|
|
obj.style = items;
|
|
return <RN.Text accessibilityRole="header" aria-level="1" numberOfLines={1} />;
|
|
};
|