Skip to content

Commit 6dd69e6

Browse files
committed
make the MessageReceiver part of prelude
1 parent 0d069a9 commit 6dd69e6

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* New border style: "rounded"
33
* Hex and Color can now be serialized / deserialized if the `serde` feature
44
is enabled.
5+
* `MessageReceiver` is now part of prelude
56
* 0.2.8
67
* An emitter can be created before the runtime
78
* Messages can be emitted to both widget ids and component ids

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ pub mod prelude {
1919
pub use crate::backend::tui::TuiBackend;
2020
pub use crate::runtime::Runtime;
2121
pub use crate::templates::{ComponentBlueprintId, Document, SourceKind, ToSourceKind};
22+
pub use crate::widgets::components::MessageReceiver;
2223
}
2324

2425
pub mod component {

0 commit comments

Comments
 (0)