Skip to main content

Interface: CommonStyleProps

Hierarchy

Properties

margin

Optional margin: number

Inherited from

MarginStyleProps.margin


marginHorizontal

Optional marginHorizontal: number

Inherited from

MarginStyleProps.marginHorizontal


marginVertical

Optional marginVertical: number

Inherited from

MarginStyleProps.marginVertical


marginTop

Optional marginTop: number

Inherited from

MarginStyleProps.marginTop


marginBottom

Optional marginBottom: number

Inherited from

MarginStyleProps.marginBottom


marginLeft

Optional marginLeft: number

Inherited from

MarginStyleProps.marginLeft


marginRight

Optional marginRight: number

Inherited from

MarginStyleProps.marginRight


padding

Optional padding: number

Inherited from

PaddingStyleProps.padding


paddingHorizontal

Optional paddingHorizontal: number

Inherited from

PaddingStyleProps.paddingHorizontal


paddingVertical

Optional paddingVertical: number

Inherited from

PaddingStyleProps.paddingVertical


paddingTop

Optional paddingTop: number

Inherited from

PaddingStyleProps.paddingTop


paddingBottom

Optional paddingBottom: number

Inherited from

PaddingStyleProps.paddingBottom


paddingLeft

Optional paddingLeft: number

Inherited from

PaddingStyleProps.paddingLeft


paddingRight

Optional paddingRight: number

Inherited from

PaddingStyleProps.paddingRight


height

Optional height: number | "wrap_content" | "match_parent"

Inherited from

SizeStyleProps.height


width

Optional width: number | "wrap_content" | "match_parent"

Inherited from

SizeStyleProps.width


backgroundColor

Optional backgroundColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

Inherited from

BackgroundStyleProps.backgroundColor


backgroundGradient

Optional backgroundGradient: Object

Type declaration

NameType
fromColorProp
toColorProp
orientation"TOP_BOTTOM" | "TR_BL" | "RIGHT_LEFT" | "BR_TL" | "BOTTOM_TOP" | "BL_TR" | "LEFT_RIGHT" | "TL_BR"

Inherited from

BackgroundStyleProps.backgroundGradient


borderWidth

Optional borderWidth: number

Inherited from

BorderStyleProps.borderWidth


borderTopWidth

Optional borderTopWidth: number

Inherited from

BorderStyleProps.borderTopWidth


borderBottomWidth

Optional borderBottomWidth: number

Inherited from

BorderStyleProps.borderBottomWidth


borderLeftWidth

Optional borderLeftWidth: number

Inherited from

BorderStyleProps.borderLeftWidth


borderRightWidth

Optional borderRightWidth: number

Inherited from

BorderStyleProps.borderRightWidth


borderColor

Optional borderColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

Inherited from

BorderStyleProps.borderColor


borderTopColor

Optional borderTopColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

Inherited from

BorderStyleProps.borderTopColor


borderBottomColor

Optional borderBottomColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

Inherited from

BorderStyleProps.borderBottomColor


borderLeftColor

Optional borderLeftColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

Inherited from

BorderStyleProps.borderLeftColor


borderRightColor

Optional borderRightColor: `#${string}` | `rgba(${number}, ${number}, ${number}, ${number})`

Inherited from

BorderStyleProps.borderRightColor


borderRadius

Optional borderRadius: number

Inherited from

BorderStyleProps.borderRadius


borderTopLeftRadius

Optional borderTopLeftRadius: number

Inherited from

BorderStyleProps.borderTopLeftRadius


borderTopRightRadius

Optional borderTopRightRadius: number

Inherited from

BorderStyleProps.borderTopRightRadius


borderBottomLeftRadius

Optional borderBottomLeftRadius: number

Inherited from

BorderStyleProps.borderBottomLeftRadius


borderBottomRightRadius

Optional borderBottomRightRadius: number

Inherited from

BorderStyleProps.borderBottomRightRadius


borderStyle

Optional borderStyle: "solid" | "dotted" | "dashed"

Inherited from

BorderStyleProps.borderStyle


rotation

Optional rotation: number

Inherited from

OtherStyleProps.rotation