react-rs 1.0.0-alpha.8

react runtime for frender
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::{Element, IntrinsicElement};

/// Corresponding to [`ReactHTMLElement`]
///
/// [`ReactHTMLElement`]: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/54d540ab4deb2588c0eff39dadf370cbf0a2dee4/types/react/v16/index.d.ts#L176
pub struct HtmlElement<TElement, Value> {
    tag: String,
}

impl<TElement, Value> Element for HtmlElement<TElement, Value> {
    fn as_react_element(&self) -> react_sys::Element {}
}

impl<TElement, Value> HtmlElement<TElement, Value> {}