Skip to content

Commit

Permalink
Added accordion list with a "selected" section
Browse files Browse the repository at this point in the history
  • Loading branch information
StawKarpi committed Apr 11, 2022
2 parents 06aabdb + cfa9aa9 commit 1fd1df1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions mobile/src/components/PointsList.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {StyleSheet, View, Text, SectionList, ScrollView} from 'react-native';
import {View, Text, ScrollView} from 'react-native';
import {HugeText} from './Text';
import React, {useState} from 'react';
import PointListItem from './PointListItem';
Expand Down Expand Up @@ -93,12 +93,6 @@ export default function PointsList({points, searchPhrase}) {
renderHeader={_renderHeader}
renderContent={_renderContent}
onChange={_updateSections}
//showsHorizontalScrollIndicator={false}
//showsVerticalScrollIndicator={false}
//renderItem={({item}) => renderItem(item)}
//renderSectionHeader={({section: {title}}) => <HugeText>{title}</HugeText>}
//keyExtractor={item => item.pointId}
//style={{width: '100%'}}
/>
</ScrollView>
);
Expand Down

0 comments on commit 1fd1df1

Please sign in to comment.