Closed DogeDark closed 7 months ago
Adds a new hook and function for cross-platform window size retrieving.
fn App() -> Element { let window_size = use_window_size(); rsx! { p { "Width: {window_size.0}" } p { "Height: {window_size.1}" } } }
Adds a new hook and function for cross-platform window size retrieving.