Svelte · Module
ModulePanel
ModulePanel - Shell component for rendering module UI slots Dynamically renders a module's registered UI component by looking up the component in the ModuleUIRegistry. Usage: 1. Import ModulePanel from '@happyvertical/smrt-svelte' 2. Import the module's svelte package to register components 3. Use ModulePanel with moduleName and slotId propsPublic export
typescript
import { ModulePanel } from '@happyvertical/smrt-svelte';- Import path
@happyvertical/smrt-svelte- Props
- 2
- Props described
- 2 of 2
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.44.0
Props
Also accepts ModuleUIBaseProps. The table lists the
component-specific contract.
NameTypeRequiredDescription
moduleNamestringYesModule name (e.g., '@happyvertical/smrt-commerce')slotIdstringYesSlot ID to renderBindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.