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
use crate::HtmlCommonSharedPropsBuilder;

crate::macros::def_intrinsic_component! {
    "style"
    StyleComponent(StyleComponentProps) {
        StyleComponentProps
        : StyleComponentPropsBuilder
        : HtmlCommonSharedPropsBuilder[web_sys::HtmlStyleElement]
        {
            media: Option<&str>,
            nonce: Option<&str>,
            scoped: Option<bool>,
            html_type@"type": Option<&str>,
        }
    }
}