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! {
    "track"
    TrackComponent(TrackComponentProps) {
        TrackComponentProps
        : TrackComponentPropsBuilder
        : HtmlCommonSharedPropsBuilder[web_sys::HtmlTrackElement]
        {
            default: Option<bool>,
            kind: Option<&str>,
            label: Option<&str>,
            src: Option<&str>,
            src_lang: Option<&str>,
        }
    }
}