MotionScript

@motion-script/core


@motion-script/core / TEXT_STYLE_KEYS

Variable: TEXT_STYLE_KEYS

const TEXT_STYLE_KEYS: readonly ["fontFamily", "fontSize", "fontWeight", "fontStyle", "letterSpacing", "lineHeight", "textAlign", "fill", "stroke", "shadow"]

Defined in: runtime/builtin-context.ts:41

The Text style props a DefaultTextStyle can supply and a Text/RichText inherits. Iterated by both the provider (to collect) and the consumer (to apply), so the two stay in lockstep.