dioxus/examples/reference/empty.rs
2021-07-07 16:19:10 -04:00

12 lines
240 B
Rust

//! Example: Null/None Children
//! ---------------------------
//!
//! This is a simple pattern that allows you to return no elements!
use dioxus::prelude::*;
fn main() {}
static Example: FC<()> = |cx| {
//
cx.render(rsx! {})
};