App: pass app state into outline as context

This commit is contained in:
Aaron Fenyes 2024-09-13 15:15:55 -07:00
parent 49170671b4
commit 959e4cc8b5
3 changed files with 41 additions and 34 deletions

View file

@ -10,6 +10,7 @@ pub struct Element {
}
// a complete, view-independent description of an assembly
#[derive(Clone)]
pub struct Assembly {
// the order of the elements is arbitrary, and it could change at any time
pub elements: Signal<Vec<Element>>