Skip to content

Instantly share code, notes, and snippets.

Avatar

Sergio Utama sergioutama

View GitHub Profile
@sergioutama
sergioutama / multi_section.jsx
Created Jun 1, 2018
Multi section with horizontal FlatList
View multi_section.jsx
export default class Screen extends React.Component {
renderItem({ item }) {
return <Row stall={item} didSelectRow={this.didSelectRow} />;
}
renderHorizontalSection = ({ item }) => {
return (
<FlatList
data={["horizontaol_item1","horizontal_item2"]}