This commit is contained in:
ammarahm-ed
2020-01-17 21:26:01 +05:00
parent 29f55e19c2
commit 6a256686f7
33 changed files with 146 additions and 234 deletions

View File

@@ -3,18 +3,16 @@ import {View, TouchableOpacity} from 'react-native';
import {SIZE} from '../../common/common';
import Icon from 'react-native-vector-icons/Feather';
import {w} from '../../utils/utils';
import {useAppContext} from '../../provider/useAppContext';
import {useTracked} from '../../provider';
const SelectionWrapper = ({children, item}) => {
const {
colors,
selectionMode,
selectedItemsList,
updateDB,
updateSelectionList,
changeSelectionMode,
} = useAppContext();
const [state, dispatch] = useTracked();
const {colors, selectionMode, selectedItemsList} = state;
///
const updateDB = () => {};
const updateSelectionList = () => {};
const changeSelectionMode = () => {};
return (
<View
style={{