27 lines
745 B
React
27 lines
745 B
React
// Metro module 5160 (f5161).
|
|
import { Animated, StyleSheet, Platform } from "react-native";
|
|
import { useTheme } from "./Module1481";
|
|
Platform;
|
|
const styles = StyleSheet.create({
|
|
title: {
|
|
fontSize: 20,
|
|
fontFamily: "sans-serif-medium",
|
|
fontWeight: "normal"
|
|
}
|
|
});
|
|
export default function HeaderTitle(a0) {
|
|
const { tintColor: _tintColor, style, ...rest } = a0;
|
|
let tintColor = a0.tintColor;
|
|
const colors = useTheme().colors;
|
|
const Text = Animated.Text;
|
|
const style2 = [styles.title, , ,];
|
|
if (tintColor === void 0) {
|
|
tintColor = colors.text;
|
|
}
|
|
style2[1] = {
|
|
color: tintColor
|
|
};
|
|
style2[2] = style;
|
|
return <Text accessibilityRole="header" aria-level="1" numberOfLines={1} {...rest} style={style2} />;
|
|
};
|