Macro typed_component

Source
macro_rules! typed_component {
    (
        $vis:vis $ElementName:ident $([$AttributeName:ident])? $({
                $($attribute:ident $(: $atype:ty)?),* $(,)?
        })?;

        |$attributes:pat_param, $extra_attributes:pat_param, $children:pat_param| $body:expr
    ) => { ... };
}
Available on crate feature typed only.