Split core and TUI crates
This commit is contained in:
17
crates/tele-tui/src/ui/components/mod.rs
Normal file
17
crates/tele-tui/src/ui/components/mod.rs
Normal file
@@ -0,0 +1,17 @@
|
||||
//! Reusable UI components: message bubbles, input fields, modals, lists.
|
||||
|
||||
pub mod chat_list_item;
|
||||
pub mod emoji_picker;
|
||||
pub mod input_field;
|
||||
pub mod message_bubble;
|
||||
pub mod message_list;
|
||||
pub mod modal;
|
||||
|
||||
// Экспорт основных функций
|
||||
pub use chat_list_item::render_chat_list_item;
|
||||
pub use emoji_picker::render_emoji_picker;
|
||||
pub use input_field::render_input_field;
|
||||
#[cfg(feature = "images")]
|
||||
pub use message_bubble::{calculate_image_height, render_album_bubble, DeferredImageRender};
|
||||
pub use message_bubble::{render_date_separator, render_message_bubble, render_sender_header};
|
||||
pub use message_list::{calculate_scroll_offset, render_help_bar, render_message_item};
|
||||
Reference in New Issue
Block a user