Here is a list of schema methods:
Click any item within the table of contents to be directed to the corresponding method
Defines a property as a boolean value.
Example: schema.boolean()
Defines a property as a number value.
Example: schema.number()
Defines a property as an object.
Example: schema.object({ fullName: schema.string(), age: schema.number() })
Defines a property as a string value.
Example: schema.string()
Defines one or more CSS Styles. Unlike the style method, this one takes all the Object’s keys and values to create a class as result. A default value can also be defined. For more information see the WithStyle method page.
schema.newStyle({
textAlign: {
layoutSpecific: true
}
}).default({ textAlign: 'center' })
The layoutSpecific
and breakpointSpecific
are style params.