Browse documentation

POJOComponent

Type. Object component with a view function.

Table of contents

Category

Type

Type import

ts
import type { POJOComponent } from "valyrian.js";

Public signature

ts
interface POJOComponent extends Record<string | number | symbol, any> { view: Component; }

Type usage

POJOComponent describes an object component whose view field is a Component.