Skip to content

Instantly share code, notes, and snippets.

@01Clarian
Last active Nov 16, 2019
Embed
What would you like to do?
import React from 'react'
const Form = (props) => {
return (
<form onSubmit={props.getWeather}>
<input
type='text'
placeholder='city'
name='city'
/>
<input
type='text'
placeholder='country'
name='country'
/>
</form>
)
}
export default Form;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment