Created
September 11, 2019 18:19
-
-
Save AndreiCalazans/f28d1f427e18277aa111ebd16a22496e 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 { | |
Composition, | |
ViewRef, | |
TextRef, | |
TextInputRef, | |
ButtonRef | |
} from '@youi/react-native-youi'; | |
export default class Login React.Component { | |
render() { | |
return ( | |
<Composition source="Login_Main"> | |
<TextRef name="Title" text="Your Cool Brand" /> | |
<ViewRef name="InputsContainer"> | |
<TextInputRef name="UsernameInput" /> | |
<TextInputRef name="PasswordInput" /> | |
</ViewRef> | |
<ViewRef name="ButtonsContainer"> | |
<ButtonRef name="LogInBtn" /> | |
<ButtonRef name="ForgotPasswordBtn" /> | |
</ViewRef> | |
</Composition> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment