Valores aceitos para Bordas.

Se estiver procurando sobre cor de bordas, procure as ColorProps

Basicamente todas as propriedades já conhecidas do HTML estão presentes, mas seus valores são pré-definidos

Veja abaixo um exemplo utilizando algumas as propriedades:

<View
borderWidth='hairline'
borderColor="neutral-900"
borderRadius="small"
>
<Text>Super customizado</Text>
</View>

Hierarchy

Properties

border?: "none" | "hairline" | "thin" | "thick" | "heavy"

A largura da borda.

borderBottomWidth?: "none" | "hairline" | "thin" | "thick" | "heavy"

A largura da borda inferior.

borderLeftWidth?: "none" | "hairline" | "thin" | "thick" | "heavy"

A largura da borda esquerda.

borderRadius?: "none" | "micro" | "small" | "medium" | "circular" | "pill"

O raio de borda.

borderRadiusLeftBottom?: "none" | "micro" | "small" | "medium" | "circular" | "pill"

O raio de borda inferior esquerdo.

borderRadiusLeftTop?: "none" | "micro" | "small" | "medium" | "circular" | "pill"

O raio de borda superior esquerdo.

borderRadiusRightBottom?: "none" | "micro" | "small" | "medium" | "circular" | "pill"

O raio de borda inferior direito.

borderRadiusRightTop?: "none" | "micro" | "small" | "medium" | "circular" | "pill"

O raio de borda superior direito.

borderRightWidth?: "none" | "hairline" | "thin" | "thick" | "heavy"

A largura da borda direita.

borderTopWidth?: "none" | "hairline" | "thin" | "thick" | "heavy"

A largura da borda superior.

borderWidth?: "none" | "hairline" | "thin" | "thick" | "heavy"

A largura da borda total.