Skip to main content

components

import {...} from "@motion-canvas/2d/lib/components";

Classes

Interfaces

Type Aliases

ComponentChild

type ComponentChild = Nodeobjectstringnumberbigintbooleannullundefined

ComponentChildren

type ComponentChildren = ComponentChildComponentChild[]

KnotAuto

type KnotAuto = endHandle: numberstartHandle: number

KnotAutoSignal

type KnotAutoSignalTOwner = SignalPossibleKnotAutoKnotAutoTOwnerendHandle: SignalnumbernumberTOwnerstartHandle: SignalnumbernumberTOwner

Type Parameters


NodeChildren

type NodeChildren = NodeNode[]

NodeState

type NodeState = NodePropsRecordstringany

PossibleKnotAuto

type PossibleKnotAuto = KnotAutonumbernumbernumber

PropsOf

type PropsOfT = T extends NodeConstructorinfer P ? P : T extends FunctionComponentinfer P ? P : never

Type Parameters