Home > @theatre/core > types

types namespace

Functions

Function Description
stringLiteral(defaultValue, options, opts) A stringLiteral prop type, useful for building menus or radio buttons.

Interfaces

Interface Description
PropTypeConfig_Boolean
PropTypeConfig_Compound
PropTypeConfig_Enum
PropTypeConfig_Number
PropTypeConfig_String
PropTypeConfig_StringLiteral
PropTypeConfigOpts

Variables

Variable Description
boolean A boolean prop type
compound A compound prop type (basically a JS object).
number A number prop type.
string A string prop type

Type Aliases

Type Alias Description
NumberNudgeFn
PropTypeConfig_AllPrimitives
PropTypeConfig