WIP update tests
This commit is contained in:
1 parent
13a99bce9c
commit
92010b0bab
10 files changed
+597
-244
No files matched your search
@@ -25,3 +25,4 @@ futures = "0.3.19"
|
||||
stretch2 = { git = "https://github.com/DioxusLabs/stretch" }
|
||||
smallvec = "1.6"
|
||||
fxhash = "0.2"
|
||||
anymap = "0.12.1"
|
||||
@@ -6,7 +6,9 @@ use crossterm::{
|
||||
};
|
||||
use dioxus_core::exports::futures_channel::mpsc::unbounded;
|
||||
use dioxus_core::*;
|
||||
use dioxus_native_core::real_dom::RealDom;
|
||||
use dioxus_native_core::{
|
||||
dioxus_native_core_macro::State, real_dom::RealDom, real_dom_new_api::State,
|
||||
};
|
||||
use futures::{
|
||||
channel::mpsc::{UnboundedReceiver, UnboundedSender},
|
||||
pin_mut, StreamExt,
|
||||
@@ -29,6 +31,9 @@ pub use config::*;
|
||||
pub use hooks::*;
|
||||
pub use render::*;
|
||||
|
||||
#[derive(Debug, Clone, State, Default)]
|
||||
struct NodeState {}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct TuiContext {
|
||||
tx: UnboundedSender<InputEvent>,
|
||||
|
||||
Reference in new issue
Block a user