Packages

object StyleSheet extends Object

This only checks for valid style properties, it does not "register" or optimize anymore.

Annotations
@native() @JSImport("react-native", "StyleSheet")
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StyleSheet
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val absoluteFill: RegisteredStyleSet[AbsoluteFillStyle]
  2. val absoluteFillObject: AbsoluteFillStyle
  3. def create[T <: StyleSet](styles: T): RegisteredStyleSet[T]
  4. def flatten[T <: Object](style: |[|[T, Array[T]], Style]): UndefOr[T]
  5. val hairlineWidth: Double

    Return the single object if either is null.

    Return the single object if either is null. Otherwise return array of styles.

  6. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  7. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  8. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  9. def toLocaleString(): String
    Definition Classes
    Object
  10. def unsafeCreate[T <: Object](styleSet: T): RegisteredStyleSet[T]
    Annotations
    @JSName("create")
  11. def valueOf(): Any
    Definition Classes
    Object