Skip to content

Instantly share code, notes, and snippets.

@adamklingbaum
Created November 15, 2021 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamklingbaum/4223b9de23458e922179cc0fd968b019 to your computer and use it in GitHub Desktop.
Save adamklingbaum/4223b9de23458e922179cc0fd968b019 to your computer and use it in GitHub Desktop.
import React, { useState, useCallback } from 'react';
import { Container, Form, Button } from 'react-bootstrap';
export default function ValidatedForm() {
const [formData, setFormData] = useState({
first: '',
last: '',
email: '',
password: '',
confirmPassword: '',
type: '',
bio: '',
});
...
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment