Skip to content

Instantly share code, notes, and snippets.

@brunosabot

brunosabot/Flex.jsx Secret

Created Sep 12, 2020
Embed
What would you like to do?
import React from "react";
import { Text, View } from "react-native";
export default function Flex() {
return (
<View style={{ flexDirection: "row", alignItems: "center" }}>
<Text>✓</Text>
<Text style={{ flexGrow: 1 }}>Hello world</Text>
</View>
);
}
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.