React Ape

React Ape

  • Docs
  • Contributing
  • Blog
  • GitHub
  • React

›Props

The Basics

  • Getting Started
  • Learning the Basics
  • Height and Width

Guides

  • Components and APIs
  • Navigation on Apps
  • Custom Components

Contributing

  • How to Contribute

Components

  • Image
  • Text
  • View

APIs

  • Dimensions
  • Platform
  • StyleSheet
  • Navigation

Props

  • Image Style Props
  • Text Style Props
  • View Style Props
Edit

Text Style Props

Reference

Props

color

Type
color (RGB, HSL or named colors according CSS3/SVG specification)

fontFamily

Type
string

fontSize

Type
number

fontStyle

Type
enum('normal', 'italic')

fontWeight

Specifies font weight. The values 'normal' and 'bold' are supported for most fonts. Not all fonts have a variant for each of the numeric values, in that case the closest one is chosen.

TypeDefault
enum('normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900')'normal'

fontVariant

TypeDefault
array of enum('small-caps', 'oldstyle-nums', 'lining-nums', 'tabular-nums', 'proportional-nums')[]

letterSpacing

Increase or decrease the spacing between characters. By default there is no extra letter spacing.

Type
number

lineHeight

Type
number

textAlign

Specifies text alignment.

TypeDefault
enum('auto', 'left', 'right', 'center', 'justify')'auto'

textShadowColor

Type
color (RGB, HSL or named colors according CSS3/SVG specification)

textTransform

TypeDefault
enum('none', 'uppercase', 'lowercase', 'capitalize')'none'
← Image Style PropsView Style Props →
  • Props
    • color
    • fontFamily
    • fontSize
    • fontStyle
    • fontWeight
    • fontVariant
    • letterSpacing
    • lineHeight
    • textAlign
    • textShadowColor
    • textTransform
Docs
Getting StartedGuidesAPI Reference
Community
Who is Using React-Ape?Twitter
More
BlogGitHubStar React Ape on GitHub
Copyright © 2022 Raphael Amorim