Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.