Skip to content

Instantly share code, notes, and snippets.

@WallysonGalvao
WallysonGalvao / App.tsx
Created January 15, 2023 15:01
RickAndMortyWiki
import React from 'react';
import {StatusBar, Text, View} from 'react-native';
const App = () => {
return (
<>
<StatusBar barStyle={'dark-content'} />
<View style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}>
<Text>Rick and Morty Characters API</Text>
</View>
@WallysonGalvao
WallysonGalvao / App.tsx
Created August 3, 2020 20:29
Solar System
import { StatusBar } from "expo-status-bar";
import React from "react";
import { StyleSheet, Text, View } from "react-native";
import { AppLoading } from "expo";
import {
useFonts,
Roboto_400Regular,
Roboto_700Bold,
} from "@expo-google-fonts/roboto";
import React from "react";
import Constants from "expo-constants";
import { useNavigation, useRoute } from "@react-navigation/native";
import { LinearGradient } from "expo-linear-gradient";
import {
StyleSheet,
View,
Text,
Image,
ImageBackground,
import React from "react";
import Constants from "expo-constants";
import { useNavigation, useRoute } from "@react-navigation/native";
import { LinearGradient } from "expo-linear-gradient";
import {
StyleSheet,
View,
Text,
ImageBackground,
ScrollView,
@WallysonGalvao
WallysonGalvao / index.tsx
Last active June 21, 2020 18:52
Marvelapp
import React from "react";
import { StyleSheet, View } from "react-native";
interface ISkillBar {
value: number;
}
const SkillBar: React.FC<ISkillBar> = ({ value }) => {
return (
<View style={styles.progressContent}>
import React from "react";
import Constants from "expo-constants";
import { useNavigation, useRoute } from "@react-navigation/native";
import { LinearGradient } from "expo-linear-gradient";
import {
StyleSheet,
View,
Text,
ImageBackground,
ScrollView,
import React from "react";
import Constants from "expo-constants";
import { useNavigation, useRoute } from "@react-navigation/native";
import { LinearGradient } from "expo-linear-gradient";
import {
StyleSheet,
View,
Text,
ImageBackground,
ScrollView,
import React from "react";
import Constants from "expo-constants";
import { useNavigation, useRoute } from "@react-navigation/native";
import { LinearGradient } from "expo-linear-gradient";
import { StyleSheet, View, Text, ImageBackground } from "react-native";
interface IParams {
character: {
name: string;
alterEgo: string;
import React from "react";
import Constants from "expo-constants";
import { StyleSheet, View, Text, ImageBackground } from "react-native";
import { useNavigation, useRoute } from "@react-navigation/native";
interface IParams {
character: {
name: string;
alterEgo: string;
imagePath: string;
@WallysonGalvao
WallysonGalvao / index.tsx
Last active June 21, 2020 18:25
Marvelapp
import React from "react";
import { StyleSheet, View, Text } from "react-native";
import { useNavigation, useRoute } from "@react-navigation/native";
interface IParams {
character: {
name: string;
alterEgo: string;
imagePath: string;
biography: string;