Moved later/gitgram-ai/gitgram/ to apps/ritgram/ (fresh history; full history stays in caelum0x/gitgram). AITimeMachine stays separate in later/gitgram-ai per the Rithub master plan. Logs, pid files and env files are ignored; GPL-3.0 mobile/proximity noted in THIRD_PARTY_NOTICES. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
31 lines
671 B
TypeScript
31 lines
671 B
TypeScript
import React from 'react';
|
|
import { StyleSheet } from 'react-native';
|
|
import { MessageText } from 'react-native-gifted-chat';
|
|
import { Typography, ThemeStatic } from '@app/theme';
|
|
|
|
const { FontWeights, FontSizes } = Typography;
|
|
|
|
const CustomMessageText: React.FC = messageTextProps => (
|
|
<MessageText
|
|
{...messageTextProps}
|
|
textStyle={{
|
|
left: styles.left,
|
|
right: styles.right
|
|
}}
|
|
/>
|
|
);
|
|
|
|
const styles = StyleSheet.create({
|
|
left: {
|
|
...FontWeights.Light,
|
|
...FontSizes.Body,
|
|
color: ThemeStatic.black
|
|
},
|
|
right: {
|
|
...FontWeights.Light,
|
|
...FontSizes.Body,
|
|
color: ThemeStatic.white
|
|
}
|
|
});
|
|
|
|
export default CustomMessageText; |