BlueWallet/components/BlueTextCentered.tsx
2026-05-18 12:56:12 +01:00

18 lines
444 B
TypeScript

import React from 'react';
import { StyleSheet, Text, TextProps } from 'react-native';
import { useTheme } from './themes';
const BlueTextCentered: React.FC<TextProps> = props => {
const { colors } = useTheme();
return <Text {...props} style={[styles.blueTextCentered, { color: colors.foregroundColor }]} />;
};
const styles = StyleSheet.create({
blueTextCentered: {
textAlign: 'center',
},
});
export default BlueTextCentered;