mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-18 16:43:21 +00:00
8 lines
237 B
Rust
8 lines
237 B
Rust
//! Example: Null/None Children
|
|
//! ---------------------------
|
|
//!
|
|
//! This is a simple pattern that allows you to return no elements!
|
|
|
|
fn main() {}
|
|
use dioxus::prelude::*;
|
|
static Example: FC<()> = |cx| cx.render(rsx! { Fragment {} });
|