Skip to content

Instantly share code, notes, and snippets.

View sergioutama's full-sized avatar

Sergio Utama sergioutama

View GitHub Profile
@sergioutama
sergioutama / multi_section.jsx
Created June 1, 2018 02:23
Multi section with horizontal FlatList
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"]}