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>
);
}
}