| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 135x 135x 135x | export const onSwipe = (state, slidesSwiped) => ({
...state,
offset: state.offset + slidesSwiped,
});
export const onPrev = state => ({
...state,
offset: state.offset - 1,
});
export const onNext = state => ({
...state,
offset: state.offset + 1,
});
|