Skip to content

Instantly share code, notes, and snippets.

@brunosabot

brunosabot/TextInherit.jsx Secret

Created Sep 12, 2020
Embed
What would you like to do?
import React from "react";
import { Text } from "react-native";
export default function TextInherit() {
return (
<Text style={{ fontSize: 18 }}>
<Text style={{ color: "#0000ff" }}>
<Text>A blue text, sized 18</Text>
</Text>
</Text>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.