Properties
Optional alignContent
alignContent: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around"
Optional alignItems
alignItems: FlexAlignType
Optional alignSelf
alignSelf: "auto" | FlexAlignType
Optional aspectRatio
aspectRatio: undefined | number
Optional backfaceVisibility
backfaceVisibility: "visible" | "hidden"
Optional backgroundColor
backgroundColor: undefined | string
Optional borderBottomColor
borderBottomColor: undefined | string
Optional borderBottomEndRadius
borderBottomEndRadius: undefined | number
Optional borderBottomLeftRadius
borderBottomLeftRadius: undefined | number
Optional borderBottomRightRadius
borderBottomRightRadius: undefined | number
Optional borderBottomStartRadius
borderBottomStartRadius: undefined | number
Optional borderBottomWidth
borderBottomWidth: undefined | number
Inherited from ViewStyle.borderBottomWidth
Overrides FlexStyle.borderBottomWidth
Defined in /home/circleci/repo/node_modules/@types/react-native/index.d.ts:1718
Optional borderColor
borderColor: undefined | string
Optional borderEndColor
borderEndColor: undefined | string
Optional borderEndWidth
borderEndWidth: number | string
Optional borderLeftColor
borderLeftColor: undefined | string
Optional borderLeftWidth
borderLeftWidth: undefined | number
Inherited from ViewStyle.borderLeftWidth
Overrides FlexStyle.borderLeftWidth
Defined in /home/circleci/repo/node_modules/@types/react-native/index.d.ts:1722
Optional borderRadius
borderRadius: undefined | number
Optional borderRightColor
borderRightColor: undefined | string
Optional borderRightWidth
borderRightWidth: undefined | number
Inherited from ViewStyle.borderRightWidth
Overrides FlexStyle.borderRightWidth
Defined in /home/circleci/repo/node_modules/@types/react-native/index.d.ts:1725
Optional borderStartColor
borderStartColor: undefined | string
Optional borderStartWidth
borderStartWidth: number | string
Optional borderStyle
borderStyle: "solid" | "dotted" | "dashed"
Optional borderTopColor
borderTopColor: undefined | string
Optional borderTopEndRadius
borderTopEndRadius: undefined | number
Optional borderTopLeftRadius
borderTopLeftRadius: undefined | number
Optional borderTopRightRadius
borderTopRightRadius: undefined | number
Optional borderTopStartRadius
borderTopStartRadius: undefined | number
Optional borderTopWidth
borderTopWidth: undefined | number
Inherited from ViewStyle.borderTopWidth
Overrides FlexStyle.borderTopWidth
Defined in /home/circleci/repo/node_modules/@types/react-native/index.d.ts:1733
Optional borderWidth
borderWidth: undefined | number
Inherited from ViewStyle.borderWidth
Overrides FlexStyle.borderWidth
Defined in /home/circleci/repo/node_modules/@types/react-native/index.d.ts:1734
Optional bottom
bottom: number | string
Optional direction
direction: "inherit" | "ltr" | "rtl"
Optional display
display: "none" | "flex"
Optional elevation
elevation: undefined | number
Optional end
end: number | string
Optional flex
flex: undefined | number
Optional flexBasis
flexBasis: number | string
Optional flexDirection
flexDirection: "row" | "column" | "row-reverse" | "column-reverse"
Optional flexGrow
flexGrow: undefined | number
Optional flexShrink
flexShrink: undefined | number
Optional flexWrap
flexWrap: "wrap" | "nowrap" | "wrap-reverse"
Optional height
height: number | string
Optional justifyContent
justifyContent: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly"
Optional left
left: number | string
Optional marginBottom
marginBottom: number | string
Optional marginEnd
marginEnd: number | string
Optional marginHorizontal
marginHorizontal: number | string
Optional marginLeft
marginLeft: number | string
Optional marginRight
marginRight: number | string
Optional marginStart
marginStart: number | string
Optional marginTop
marginTop: number | string
Optional marginVertical
marginVertical: number | string
Optional maxHeight
maxHeight: number | string
Optional maxWidth
maxWidth: number | string
Optional minHeight
minHeight: number | string
Optional minWidth
minWidth: number | string
Optional opacity
opacity: undefined | number
Optional overflow
overflow: "visible" | "hidden" | "scroll"
Optional padding
padding: number | string
Optional paddingBottom
paddingBottom: number | string
Optional paddingEnd
paddingEnd: number | string
Optional paddingHorizontal
paddingHorizontal: number | string
Optional paddingLeft
paddingLeft: number | string
Optional paddingRight
paddingRight: number | string
Optional paddingStart
paddingStart: number | string
Optional paddingTop
paddingTop: number | string
Optional paddingVertical
paddingVertical: number | string
Optional position
position: "absolute" | "relative"
Optional right
right: number | string
Optional rotation
rotation: undefined | number
Optional scaleX
scaleX: undefined | number
Optional scaleY
scaleY: undefined | number
Optional shadowColor
shadowColor: undefined | string
Optional shadowOffset
shadowOffset: undefined | object
Optional shadowOpacity
shadowOpacity: undefined | number
Optional shadowRadius
shadowRadius: undefined | number
Optional start
start: number | string
Optional testID
testID: undefined | string
Optional top
top: number | string
Optional transform
transform: ( PerpectiveTransform | RotateTransform | RotateXTransform | RotateYTransform | RotateZTransform | ScaleTransform | ScaleXTransform | ScaleYTransform | TranslateXTransform | TranslateYTransform | SkewXTransform | SkewYTransform ) []
Optional transformMatrix
transformMatrix: Array < number >
Optional translateX
translateX: undefined | number
Optional translateY
translateY: undefined | number
Optional width
width: number | string
Optional zIndex
zIndex: undefined | number
Determines the
ViewStyle
to set the margin of a component. Makes themargin
property required. Used to create margin style mixins.