You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
535 B
15 lines
535 B
export default function SampleForm() {
|
|
return (
|
|
<div>
|
|
<h1>Hello, this is a sample form made in react !</h1>
|
|
<form action="submit" method="POST">
|
|
<label>your name: </label>
|
|
<input type="text" id="name" name="name" />
|
|
<label>a little description about yourself: </label>
|
|
<input type="text" id="password" name="description" />
|
|
<input type="submit" value="click me to submit!" />
|
|
</form>
|
|
</div>
|
|
)
|
|
}
|