react.native

package react.native

Type members

Classlikes

@JSType
trait AccessibilityPropsAndroid extends Object
@JSType
trait AccessibilityPropsIOS extends Object
@native @JSImport("react-native", "Alert") @JSType
object Alert extends Object
@JSType
trait AlertButton extends Object
@native @JSType
sealed
trait AlertButtonStyle extends Any
Companion
object
Companion
class
@native @JSImport("react-native", "AlertIOS") @JSType
object AlertIOS extends Object
@JSType
trait AlertOptions extends Object
@native @JSType
sealed
trait AlertType extends Any
Companion
object
object AlertType
Companion
class
@native @JSType
sealed
trait AlignContent extends Any
Companion
object
Companion
class
@native @JSType
sealed
trait AlignSelf extends Any
Companion
object
Companion
class
@native @JSImport("react-native", "Animated") @JSType
object Animated extends Object
Companion
class
@native @JSImport("react-native", "Animated.Animated") @JSType
class Animated extends Object
Companion
object
@native @JSImport("react-native", "Animated.AnimatedAddition") @JSType
@native @JSImport("react-native", "Animated.AnimatedInterpolation") @JSType
@native @JSImport("react-native", "Animated.AnimatedSubtraction") @JSType
@JSType
trait AnimationConfig extends Object
@JSType
trait AppConfig extends Object
@native @JSImport("react-native", "AppRegistry") @JSType
object AppRegistry extends Object
@native @JSImport("react-native", "AppState") @JSType
object AppState extends Object
@native @JSType
sealed
trait AppStateValue extends Any
Companion
object
Companion
class
@native @JSImport("react-native", "AsyncStorage") @JSType
object AsyncStorage extends Object
@native @JSType
sealed
trait BackfaceVisibility extends Any
Companion
object
Companion
class
@native @JSType
sealed
trait Behavior extends Any
Companion
object
object Behavior
Companion
class
@JSType
trait BoundingBox extends Object
object Button
@native @JSType
sealed
trait CacheControl extends Any
Companion
object
Companion
class
@native @JSImport("react-native", "Clipboard") @JSType
object Clipboard extends Object
@native @JSType
trait CompositeAnimation extends Object
@JSType
trait ContentOffset extends Object
@JSType
trait ContentOffsetEvent extends Object
@JSType
@native @JSType
sealed
trait Dim extends Any
Companion
object
object Dim
Companion
class
@native @JSType
trait DimChangedCbArgs extends Object
@native @JSImport("react-native", "Dimensions") @JSType
object Dimensions extends Object
@native @JSType
sealed
trait Direction extends Any
Companion
object
object Direction
Companion
class
@native @JSType
sealed
trait Display extends Any
Companion
object
object Display
Companion
class
@native @JSType
@native @JSType
trait EndResult extends Object
@native @JSType
trait EventEmitterListener extends Object
@native @JSType
trait EventSubscription extends Object
@native @JSType
@native @JSType
sealed
trait Extrapolate extends Any
Companion
object
Companion
class
object FlatList
@native @JSType
sealed
trait FlexAlignType extends Any
Companion
object
Companion
class
trait FlexCommon[T]
@native @JSType
sealed
trait FlexDirection extends Any
Companion
object
Companion
class
@JSType
trait FlexStyle extends Object
@native @JSType
sealed
trait FlexWrap extends Any
Companion
object
object FlexWrap
Companion
class
@native @JSType
sealed
trait FontStyle extends Any
Companion
object
object FontStyle
Companion
class
@native @JSType
sealed
trait FontWeight extends Any
Companion
object
object FontWeight
Companion
class
@native @JSType
trait IFlatList[T] extends Object
object Image
@native @JSType
trait ImageErrorEvent extends Object
@native @JSType
sealed
trait ImageOverflow extends Any
@native @JSType
trait ImageProgressEvent extends Object
@JSType
@JSType
trait ImageURISource extends Object
@JSType
trait Insets extends Object
@native @JSType
trait InterpolationConfig extends Object
@JSType
trait ItemLayout extends Object
@native @JSType
sealed
trait JustifyContent extends Any
Companion
object
Companion
class
@native @JSImport("react-native", "Keyboard") @JSType
object Keyboard extends Object
@native @JSType
sealed
trait KeyboardEventName extends Any
Companion
object
Companion
class
@native @JSType
trait LayoutChangeEvent extends Object
@native @JSType
trait LayoutRectangle extends Object
@native @JSImport("react-native", "Linking") @JSType
object Linking extends Object
@native @JSType
trait NativeEventListener extends Object
@native @JSType
trait NativeLayoutChangeEvent extends Object
@native @JSType
trait NativeSyntheticEvent[T <: Object] extends BaseSyntheticEvent[T, NodeHandle, NodeHandle]
@native @JSType
trait NativeTouchEvent extends Object
@JSType
trait Offset extends Object
@JSType
trait OnEndReachedEvent extends Object
@JSType
trait OnEndReachedInfo extends Object
object Oveflow
@native @JSType
sealed
trait Overflow extends Any
Companion
object
object Overflow
Companion
class
object Picker
@native @JSImport("react-native", "Platform") @JSType
object Platform extends PlatformValues
@native @JSImport("react-native", "PlatformIOS") @JSType
@native @JSType
sealed
trait PlatformOSType extends Any
Companion
object
Companion
class
@native @JSType
trait PlatformValues extends Object
@native @JSType
sealed
trait PointerEvents extends Any
Companion
object
Companion
class
@native @JSType
sealed
trait Position extends Any
Companion
object
object Position
Companion
class
@JSType
trait RenderItemInfo[T] extends Object
@native @JSType
sealed
trait ResizeMethod extends Any
Companion
object
Companion
class
@native @JSType
sealed
trait ResizeMode extends Any
Companion
object
object ResizeMode
Companion
class
@native @JSType
trait ScaledSize extends Object
@JSType
trait ScrollToEnd extends Object
@JSType
trait ScrollToIndex extends Object
@JSType
trait ScrollToItem[T] extends Object
@JSType
trait ScrollToOffset extends Object
object ScrollView
@JSType
trait Section[T] extends Object
@JSType
trait Selection extends Object
@JSType
trait Separators extends Object
@JSType
trait ShadowStyleIOS extends Object
object Text
@native @JSType
sealed
trait TextAlign extends Any
Companion
object
object TextAlign
Companion
class
@native @JSType
sealed
trait TextAlignVertical extends Any
Companion
object
Companion
class
@native @JSType
sealed
trait TextBreakStrategy extends Any
Companion
object
Companion
class
object TextInput
@JSType

Text related.

Text related.

@JSType
trait TextStyleAndroid extends Object
@JSType
trait TextStyleIOS extends ViewStyle
@JSType
trait TransformsStyle extends Object
@native @JSImport("react-native", "Animated.Value") @JSType
class Value(value: Double) extends Animated
@native @JSType
trait ValueListenerCbArgs extends Object
@native @JSImport("react-native", "Animated.ValueXY") @JSType
class ValueXY() extends Animated
object View
@JSType
@JSType
trait ViewToken[T] extends Object
@JSType
trait ViewabilityConfig extends Object
@JSType
trait ViewableItemsChangedEvent[T] extends Object
@JSType
trait ViewableItemsChangedInfo[T] extends Object

Types

type ComponentProvider = () => ReactJSComponent
type EndCallback = Function1[EndResult, Unit]
type NodeHandle = Int
type Runnable = Function1[Any, Unit]
type Task = Function1[Any, Promise[Unit]]
type TaskProvider = () => Task
type ValueListenerCb = Function1[ValueListenerCbArgs, Unit]

Value members

Concrete methods

def choices[T](items: (String, T)*): Dictionary[T]

For use in Platform.select

For use in Platform.select