Skip to content

Instantly share code, notes, and snippets.

@paulolramos
paulolramos / Inputs.jsx
Created April 18, 2019 18:24
React functional component for handling inputs using hooks (Uses Bootstrap 4)
import React, { useState } from "react";
export const Inputs = () => {
const [person, setPerson] = useState({
name: "",
age: 0,
job: ""
});
const handleChange = e => {