At runtime your code works with editor types as TypeScript values from the
@wix/editor-react-types package. This article covers what those types look like, how a value
reaches your code, and how you expose one.
Import the type you need and use it to type a value your code works with, whether it's a prop a component receives, a value exposed through a context, or a value a function returns. The types take three shapes:
string, number, or boolean. Several types are aliases for a
built-in primitive. For example, Text, Email, and Guid are all string at runtime. The distinct
name signals how the value is used and how the manifest constrains it, not a different
runtime shape.Image or Link.MenuItems, a list of
MenuItem objects.Every value has two sides at runtime. Code that receives a value is a consumer of it, and code that provides a value is a producer of it. The same component or function is often both, consuming some values and producing others. Which side applies depends on where you declared the type.
A type page's Component section shows how to use the type in code, as both a consumer and a producer where applicable.
Last updated: 2 November 2026