wip: book documentation

This commit is contained in:
Jonathan Kelley committed 2021-10-16 17:04:28 -04:00
1 parent 7dedad4c26
commit 16dbf4a6f8
87 files changed
+997 -319

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ pub struct TodoItem {
pub contents: String,
}
const STYLE: &str = include_str!("./_examples/todomvc/style.css");
const STYLE: &str = include_str!("./assets/todomvc.css");
const App: FC<()> = |cx, props| {
let draft = use_state(cx, || "".to_string());
let todos = use_state(cx, || HashMap::<u32, Rc<TodoItem>>::new());