Skip to main content

export_web_component

Function export_web_component 

Source
pub fn export_web_component(
    file: &HybridFileSpec,
    view: &HybridViewSpec,
) -> Result<ExportWebComponentOutput, CodegenError>
Expand description

Export one #[nv_hybrid_view] to a Light-DOM Custom Element <nv-...> + .d.ts + typed React .tsx.