Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around"
alignItems?: FlexAlignType
alignSelf?: FlexAlignType | "auto"
aspectRatio?: number
backfaceVisibility?: "visible" | "hidden"
backgroundColor?: ColorValue
borderBottomColor?: ColorValue
borderBottomEndRadius?: number
borderBottomLeftRadius?: number
borderBottomRightRadius?: number
borderBottomStartRadius?: number
borderBottomWidth?: number
borderColor?: ColorValue
borderEndColor?: ColorValue
borderEndWidth?: string | number
borderLeftColor?: ColorValue
borderLeftWidth?: number
borderRadius?: number
borderRightColor?: ColorValue
borderRightWidth?: number
borderStartColor?: ColorValue
borderStartWidth?: string | number
borderStyle?: "solid" | "dotted" | "dashed"
borderTopColor?: ColorValue
borderTopEndRadius?: number
borderTopLeftRadius?: number
borderTopRightRadius?: number
borderTopStartRadius?: number
borderTopWidth?: number
borderWidth?: number
bottom?: string | number
direction?: "inherit" | "ltr" | "rtl"
platform

ios

display?: "none" | "flex"
elevation?: number

Sets the elevation of a view, using Android's underlying elevation API. This adds a drop shadow to the item and affects z-order for overlapping views. Only supported on Android 5.0+, has no effect on earlier versions.

platform

android

end?: string | number
flex?: number
flexBasis?: string | number
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse"
flexGrow?: number
flexShrink?: number
flexWrap?: "wrap" | "nowrap" | "wrap-reverse"
height?: string | number
includeFontPadding?: boolean
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly"
left?: string | number
margin?: string | number
marginBottom?: string | number
marginEnd?: string | number
marginHorizontal?: string | number
marginLeft?: string | number
marginRight?: string | number
marginStart?: string | number
marginTop?: string | number
marginVertical?: string | number
maxHeight?: string | number
maxWidth?: string | number
minHeight?: string | number
minWidth?: string | number
opacity?: number
overflow?: "visible" | "hidden" | "scroll"
padding?: string | number
paddingBottom?: string | number
paddingEnd?: string | number
paddingHorizontal?: string | number
paddingLeft?: string | number
paddingRight?: string | number
paddingStart?: string | number
paddingTop?: string | number
paddingVertical?: string | number
position?: "absolute" | "relative"
right?: string | number
rotation?: number
deprecated

Use rotate in transform prop instead.

scaleX?: number
deprecated

Use scaleX in transform prop instead.

scaleY?: number
deprecated

Use scaleY in transform prop instead.

shadowColor?: ColorValue
shadowOffset?: { height: number; width: number }

Type declaration

  • height: number
  • width: number
shadowOpacity?: number
shadowRadius?: number
start?: string | number
testID?: string
textAlignVertical?: "center" | "auto" | "top" | "bottom"
top?: string | number
transformMatrix?: number[]
deprecated

Use matrix in transform prop instead.

translateX?: number
deprecated

Use translateX in transform prop instead.

translateY?: number
deprecated

Use translateY in transform prop instead.

width?: string | number
zIndex?: number

Generated using TypeDoc