cranpose 0.9.21

Build desktop, mobile and web apps with composable Rust functions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use cranpose::prelude::*;

#[allow(non_snake_case)]
pub fn WatchApp() {
    Box(
        Modifier::empty().fill_max_size().background(Color(0.05, 0.1, 0.25, 1.0)),
        BoxSpec::default(),
        || {
            Text("Cranpose on watchOS", Modifier::empty().offset(16.0, 80.0), TextStyle::default());
        },
    );
}