Skip to main content

Type Alias: TextInput

TextInput = StaticText | ReactNode

Defined in: types.ts:81

Text an author may pass to a message beat.

A string or number is frozen as-is, I18nText re-translates, and anything else (a React node, an element array) is stored as a RefText pointing back at the beat.