Skip to content

Latest commit

 

History

History
54 lines (32 loc) · 1.29 KB

README.md

File metadata and controls

54 lines (32 loc) · 1.29 KB

FactCat

Api sobre curiosidades de gatos.

demonstração

Captura de Tela (91)

clone este projeto

git clone https://github.com/benetesla/whiskerwonderlands.gi
  npm install whiskerwonderlands
  npm start

Uso/Exemplos

import React, { useState, useEffect } from 'react'

const ApiUrl = 'https://catfact.ninja/fact'
const fetctData = async () => {
            const response = await fetch(ApiUrl)
            const data = await response.json()
            setCat(data)
            setLoading(false)
        }
        fetctData()
  }
        

Referência

License

MIT License

Stack utilizada

Front-end: CSS3 HTML js React