mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-25 11:57:12 +00:00
8 lines
229 B
Rust
8 lines
229 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| cx.render(rsx! { Fragment {} });
|