package styling
- Alphabetic
- By Inheritance
- styling
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait AbsoluteFillStyle extends Object
- Annotations
- @JSType() @native()
- type ComponentStyle = |[|[ViewStyle, TextStyle], ImageStyle]
- type DynamicStyle = |[Object, Dynamic]
- trait RecursiveArray[T] extends Array[|[T, RecursiveArray[T]]]
- Annotations
- @JSType()
- sealed trait Registered extends Object
General registered type, used for tagging a couple of styling related objects.
General registered type, used for tagging a couple of styling related objects.
- Annotations
- @JSType()
- type RegisteredStyleSet[T] = T with StyleSet with Registered
- type Style = |[StyleAny, Array[StyleAny]]
Individual stytle object or an array of them.
- type StyleAny = |[ComponentStyle, DynamicStyle]
- type StyleProp[T <: Object] = |[|[|[|[T, UndefOr[T]], Array[T]], RecursiveArray[T]], Null]
Use this for style properties on components.
- trait StyleSet extends Object
StyleSet tag.
StyleSet tag. Extend your style classes from this trait for better type inference.
- Annotations
- @JSType()
Value Members
- object StyleSet
Apply the StyleSet tag to an object or a list of pairs.
- object StyleSheet extends Object
This only checks for valid style properties, it does not "register" or optimize anymore.
This only checks for valid style properties, it does not "register" or optimize anymore.
- Annotations
- @native() @JSImport("react-native", "StyleSheet")
- object stylelist
Drive type inference when combining styles for a component's style property.