intuitive 0.1.0

a react-like library for building text-based user interfaces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::{
  components::Component,
  element::{Any as AnyElement, Element},
};

#[derive(Clone, Default)]
pub struct Empty;

impl Component for Empty {
  fn render(&self) -> AnyElement {
    AnyElement::new(Empty)
  }
}

impl Element for Empty {}