Properties
Optional alignContent
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around"
Optional alignItems
Optional alignSelf
Optional aspectRatio
aspectRatio?: number
Optional borderBottomWidth
borderBottomWidth?: number
Optional borderEndWidth
borderEndWidth?: string | number
Optional borderLeftWidth
borderLeftWidth?: number
Optional borderRightWidth
borderRightWidth?: number
Optional borderStartWidth
borderStartWidth?: string | number
Optional borderTopWidth
borderTopWidth?: number
Optional borderWidth
borderWidth?: number
Optional bottom
bottom?: string | number
Optional direction
direction?: "inherit" | "ltr" | "rtl"
Optional display
display?: "none" | "flex"
Optional end
end?: string | number
Optional flex
flex?: number
Optional flexBasis
flexBasis?: string | number
Optional flexDirection
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse"
Optional flexGrow
flexGrow?: number
Optional flexShrink
flexShrink?: number
Optional flexWrap
flexWrap?: "wrap" | "nowrap" | "wrap-reverse"
Optional height
height?: string | number
Optional justifyContent
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly"
Optional left
left?: string | number
Optional margin
margin?: string | number
Optional marginBottom
marginBottom?: string | number
Optional marginEnd
marginEnd?: string | number
Optional marginHorizontal
marginHorizontal?: string | number
Optional marginLeft
marginLeft?: string | number
Optional marginRight
marginRight?: string | number
Optional marginStart
marginStart?: string | number
Optional marginTop
marginTop?: string | number
Optional marginVertical
marginVertical?: string | number
Optional maxHeight
maxHeight?: string | number
Optional maxWidth
maxWidth?: string | number
Optional minHeight
minHeight?: string | number
Optional minWidth
minWidth?: string | number
Optional overflow
overflow?: "visible" | "hidden" | "scroll"
Optional padding
padding?: string | number
Optional paddingBottom
paddingBottom?: string | number
Optional paddingEnd
paddingEnd?: string | number
Optional paddingHorizontal
paddingHorizontal?: string | number
Optional paddingLeft
paddingLeft?: string | number
Optional paddingRight
paddingRight?: string | number
Optional paddingStart
paddingStart?: string | number
Optional paddingTop
paddingTop?: string | number
Optional paddingVertical
paddingVertical?: string | number
Optional position
position?: "absolute" | "relative"
Optional right
right?: string | number
Optional start
start?: string | number
Optional top
top?: string | number
Optional width
width?: string | number
Optional zIndex
zIndex?: number
Flex Prop Types
https://reactnative.dev/docs/flexbox
https://reactnative.dev/docs/layout-props