mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 22:50:19 +00:00
8 lines
238 B
Rust
8 lines
238 B
Rust
//! Example: Null/None Children
|
|
//! ---------------------------
|
|
//!
|
|
//! This is a simple pattern that allows you to return no elements!
|
|
|
|
use dioxus::prelude::*;
|
|
|
|
pub static Example: FC<()> = |(cx, props)| cx.render(rsx! { Fragment {} });
|