effect-motion
API Referenceeffect-motionNamespacesRunnerType aliases

Child

type Child =

Type Alias: Child

type Child =
  | string
  | Instance
| Effect.Effect<Instance, never, Runner>;

Defined in: packages/motion/src/Runner.ts:121

A child in a polymorphic children list: a plain string (→ a Text), an already-created Instance, or an Effect that resolves to one (a not-yet-yielded instantiate — yielded internally so JSX children need no yield*). Normalized to a stored child id in list order.

On this page