react-html 1.0.0-alpha.8

react html components for frender
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::HtmlCommonSharedPropsBuilder;

crate::macros::def_intrinsic_component! {
    "meta"
    MetaComponent(MetaComponentProps) {
        MetaComponentProps
        : MetaComponentPropsBuilder
        : HtmlCommonSharedPropsBuilder[web_sys::HtmlMetaElement]
        {
            char_set: Option<&str>,
            content: Option<&str>,
            http_equiv: Option<&str>,
            name: Option<&str>,
            media: Option<&str>,
        }
    }
}