(
web_module: WebModule,
name: str,
fallback: Any | None,
allow_children: bool,
)
| 365 | |
| 366 | |
| 367 | def _make_export( |
| 368 | web_module: WebModule, |
| 369 | name: str, |
| 370 | fallback: Any | None, |
| 371 | allow_children: bool, |
| 372 | ) -> VdomDictConstructor: |
| 373 | return make_vdom_constructor( |
| 374 | name, |
| 375 | allow_children=allow_children, |
| 376 | import_source=ImportSourceDict( |
| 377 | source=web_module.source, |
| 378 | sourceType=web_module.source_type, |
| 379 | fallback=(fallback or web_module.default_fallback), |
| 380 | unmountBeforeUpdate=web_module.unmount_before_update, |
| 381 | ), |
| 382 | ) |
| 383 | |
| 384 | |
| 385 | def _web_module_path(name: str) -> Path: |
no test coverage detected