RedDokia API Reference / RedDokiaViewComponent
Type Alias: RedDokiaViewComponent<TParams>
ts
type RedDokiaViewComponent<TParams> =
| ((props) => unknown)
| (new (props, context?) => unknown)
| RedDokiaViewMountHandler<TParams>
| Record<string, any>;Framework-neutral view component or DOM mount handler accepted by views[].component and openView(..., { component }). Supports React function/class/exotic components, Vue 3 components, Svelte 5 components, and Vanilla DOM mount handlers.
Type Parameters
| Type Parameter | Default type |
|---|---|
TParams | Record<string, any> |