This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Head from 'next/head' | |
import Image from 'next/image' | |
import { useEffect, useState } from 'react'; | |
import {api} from './api/api' | |
interface IBooks { | |
title: string; | |
} | |
export default function Home() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ena", | |
"version": "1.0.0", | |
"main": "node_modules/expo/AppEntry.js", | |
"scripts": { | |
"start": "expo start", | |
"android": "expo start --android", | |
"ios": "expo start --ios", | |
"web": "expo start --web" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Task :expo-constants:createReleaseExpoConfig | |
Execution optimizations have been disabled for task ':expo-constants:createReleaseExpoConfig' to ensure correctness due to the following reasons: | |
- Gradle detected a problem with the following location: '/home/faro/Documentos/projects/challenges/app_elnan/android'. Reason: Task ':expo-constants:createReleaseExpoConfig' uses this output of task ':app:bundleReleaseJsAndAssets' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.3.3/userguide/validation_problems.html#implicit_dependency for more details about this problem. | |
- Gradle detected a problem with the following location: '/home/faro/Documentos/projects/challenges/app_elnan/android'. Reason: Task ':expo-constants:createReleaseExpoConfig' uses this output of task ':app:compileReleaseShaders' without declaring an explicit or implicit dependency. This can lead to inco |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useeffect, useEffect } from 'react' | |
import { StyleSheet, View, Alert } from 'react-native' | |
import { Header } from '../components/Header' | |
import { Task, TasksList } from '../components/TasksList' | |
import { TodoInput } from '../components/TodoInput' | |
import Asyncstorage from '@react-native-async-storage/async-storage' | |
import AsyncStorage from '@react-native-async-storage/async-storage' | |
export interface INewTitle { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react' | |
import { StyleSheet, View, Alert } from 'react-native' | |
import { Header } from '../components/Header' | |
import { Task, TasksList } from '../components/TasksList' | |
import { TodoInput } from '../components/TodoInput' | |
export interface INewTitle { | |
taskId: number | |
newTitle: string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
//App.tsx | |
import { StatusBar } from 'react-native' | |
import { Home } from './src/pages/Home' | |
export default function App() { | |
return ( | |
<> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react' | |
import { StyleSheet, View, Alert } from 'react-native' | |
import { Header } from '../components/Header' | |
import { Task, TasksList } from '../components/TasksList' | |
import { TodoInput } from '../components/TodoInput' | |
export interface INewTitle { | |
taskId: number | |
newTitle: string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useRef } from 'react' | |
import { View, TouchableOpacity } from 'react-native' | |
import { ChatTeardropDots } from 'phosphor-react-native' | |
import BottomSheet from '@gorhom/bottom-sheet' | |
import { styles } from './styles' | |
import { theme } from '../../theme/' | |
export function Widget() { | |
const bottomSheetRef = useRef<BottomSheet>(null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<> | |
<div className={styles.good}> | |
<ul> | |
<li className={styles.buttonMenu}> | |
<img width='45px' src={carteira} alt='' /> | |
Resumo da <br /> carteira | |
<IoIosArrowForward size='12' /> | |
<hr /> | |
</li> | |
<li className={styles.buttonMenu}> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState } from 'react' | |
interface IIncome { | |
title: string | |
} | |
export function Income() { | |
const [incomes, setIncome] = useState<IIncome[]>([]) | |
// https://60b6ad6f17d1dc0017b882fd.mockapi.io/mock/getFixedIncomeClassData | |
useEffect(() => { | |
fetch( |