Browse documentation

Children

Type. Children accepted by vnodes and components.

Table of contents

Category

Type

Type import

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

Public signature

ts
interface Children extends Array<Vnode | VnodeComponentInterface | ValyrianComponent | any> {}

Type usage

Children is the array shape accepted by v(...) and component child parameters.