Last active
September 23, 2019 11:54
-
-
Save AndreiCalazans/02ba7e05d2ad79a4e179b9f11fdd44be 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'; | |
import { Hero, MovieThubnail } from './shared-components'; | |
export default class MovieLanderRef React.Component { | |
render() { | |
return ( | |
<Composition source="Movies_Main"> | |
<Hero /> | |
</ViewRef> | |
<ListRef | |
name="MoviesList" | |
data={moviesArray} | |
renderItem={({ item }) => <MovieThumbnail {...item} />} | |
/> | |
</Composition> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment