Saltar al contenido principal

Text

You have just learned the basics of Docusaurus and made some changes to the initial template.

Usage​

Import

import {Text} from '@rn-punikit/base'

return(
<Text type="body_2">
Mojón!
</Text>
)

Props​

type​

Tipo de texto que se va a mostrar

TipodefaultRequired
RnPuniKitConfigTypographyFontTypesbody_1SI

align​

Alineación del texto

TipodefaultRequired
center
left
right
leftNO

color​

Color del texto

TipodefaultRequired
string#000NO

weight​

Anchura del texto

TipodefaultRequired
light
regular
bold
regularNO

children​

TipodefaultRequired
React.ReactNodeSI