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

crate::macros::def_intrinsic_component! {
    "col"
    ColComponent(ColComponentProps) {
        ColComponentProps
        : ColComponentPropsBuilder
        : HtmlCommonSharedPropsBuilder[web_sys::HtmlTableColElement]
        {
            span: Option<usize>,
            width['a, T: Into<crate::NumOrStr<'a>>]: Option<T> { into? |v| v.into() },
        }
    }
}