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';
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
You can’t perform that action at this time.