Re-Export Manganis & Update Examples (#2625)

* feat: export manganis

* revision: use manganis in examples

* fix: manganis dep

* fix: workspace root finder

* fix: manganis dep

* fix: ci
This commit is contained in:
Miles Murgaw authored and GitHub committed 2024-07-23 10:29:37 -07:00
1 parent 856fadc9d6
commit 672f4dfefc
23 files changed
+154 -134

No files matched your search

+3 -2
View File
@@ -3,9 +3,10 @@
//! This example shows how to manage focus in a Dioxus application. We implement a "roulette" that focuses on each input
//! in the grid every few milliseconds until the user interacts with the inputs.
use dioxus::prelude::*;
use std::rc::Rc;
use dioxus::prelude::*;
const STYLE: &str = asset!(file("./examples/assets/roulette.css"));
fn main() {
launch_desktop(app);
@@ -37,7 +38,7 @@ fn app() -> Element {
});
rsx! {
style { {include_str!("./assets/roulette.css")} }
link { rel: "stylesheet", href: STYLE }
h1 { "Input Roulette" }
button { onclick: move |_| running.toggle(), "Toggle roulette" }
div { id: "roulette-grid",