Skip to content

Instantly share code, notes, and snippets.

View amadeujunior18's full-sized avatar

Amadeu Junior amadeujunior18

View GitHub Profile
@amadeujunior18
amadeujunior18 / jQuery Mask Plugin
Created October 5, 2019 20:30
jQuery Mask Plugin
<!doctype html>
<html lang="en">
<head>
<title>Title</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
@amadeujunior18
amadeujunior18 / index.js
Last active October 2, 2019 22:31
index.js {Arquivo de cadastro de spots SmanaOniStak #09}
import React, {useState, useMemo} from 'react';
import api from '../../services/api';
import camera from '../../assets/camera.svg';
import './styles.css';
export default function New({ history }){
const [thumbnail, setThumbnail] = useState(null);
const [company, setCompany] = useState('');