Created
October 25, 2017 13:33
-
-
Save alvincrespo/1b0ebb83590b918261cd150796ee029b to your computer and use it in GitHub Desktop.
Instantiating PasswordField component
This file contains hidden or 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
const App = () => { | |
return ( | |
<PasswordField> | |
{(props) => ( | |
<Field> | |
{props.label} | |
{props.input} | |
</Field> | |
)} | |
</PasswordField> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment