1
2
3
4
5
6
7
8
9
10
11
12
use crate::{
  component,
  element::{Any as AnyElement, Element},
};

/// A component that renders nothing.
#[component(Empty)]
pub fn render() -> AnyElement {
  AnyElement::new(Self {})
}

impl Element for Empty {}