Created
July 15, 2018 08:14
-
-
Save HyunSeob/076e046c3a2e1f2f2f0bda07c10ce1b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
namespace Form { | |
export interface Fields { | |
email: string; | |
password: string; | |
} | |
export interface Props { | |
onSubmit: (fields: Form.Fields) => void; | |
} | |
} | |
function Form(props: Form.Props) { | |
// return render... | |
} | |
export default Form |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment