- Updated app.json to set userInterfaceStyle to automatic for improved theme adaptability. - Refactored layout components to utilize useAppColors for dynamic theming, ensuring consistent color usage. - Introduced SystemChrome component to manage system UI background color based on theme. - Enhanced TabsLayout, ProfileStackLayout, and other components to leverage new theming structure. - Improved QRCodeScanner, SearchBar, and CommentItem styles to align with the updated theme system. - Consolidated styles in SystemMessageItem and TabBar for better maintainability and visual coherence.
35 lines
911 B
TypeScript
35 lines
911 B
TypeScript
/**
|
|
* ChatScreen 组件导出
|
|
*/
|
|
|
|
// 类型
|
|
export * from './types';
|
|
|
|
// 常量
|
|
export * from './constants';
|
|
|
|
// 样式
|
|
export { createChatScreenStyles, useChatScreenStyles } from './styles';
|
|
|
|
// 组件
|
|
export { EmojiPanel } from './EmojiPanel';
|
|
export { MorePanel } from './MorePanel';
|
|
export { MentionPanel } from './MentionPanel';
|
|
export { LongPressMenu } from './LongPressMenu';
|
|
export { ChatHeader } from './ChatHeader';
|
|
export { MessageBubble } from './MessageBubble';
|
|
export { ChatInput } from './ChatInput';
|
|
export { GroupInfoPanel } from './GroupInfoPanel';
|
|
export { SwipeableMessageBubble } from './SwipeableMessageBubble';
|
|
|
|
// Segment 渲染组件
|
|
export {
|
|
MessageSegmentsRenderer,
|
|
ReplyPreviewSegment,
|
|
renderSegment
|
|
} from './SegmentRenderer';
|
|
export type { SegmentRendererProps, ReplyPreviewSegmentProps } from './SegmentRenderer';
|
|
|
|
// Hook
|
|
export { useChatScreen } from './useChatScreen';
|