Skip to main content

azalea_chat/
lib.rs

1#![doc = include_str!("../README.md")]
2
3pub mod click_event;
4pub mod component;
5pub mod hover_event;
6pub mod style;
7
8pub use component::{DEFAULT_STYLE, FormattedText};
9
10pub mod translatable_component {
11    #![deprecated]
12    pub type TranslatableComponent = crate::component::translatable::TranslatableComponent;
13    pub type PrimitiveOrComponent = crate::component::translatable::PrimitiveOrComponent;
14}
15pub mod text_component {
16    #![deprecated]
17    pub type TextComponent = crate::component::text::TextComponent;
18}