React Ape

React Ape

  • Docs
  • Contributing
  • Blog
  • GitHub
  • React

›Components

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

Text

A component for displaying text.

This example shows the text being displayed at position 0,0 of the canvas.

import React from "react";
import { Text, View, render } from "react-ape";

class TextOnScreen extends React.Component {
  render() {
    return (
      <View>
        <Text style={{ x: 0, y: 0 }}>Hello World Text!</Text>
      </View>
    );
  }
}
← ImageView →
  • Text
Docs
Getting StartedGuidesAPI Reference
Community
Who is Using React-Ape?Twitter
More
BlogGitHubStar React Ape on GitHub
Copyright © 2022 Raphael Amorim