0.14.0 • Published 1 year ago
@one-am/react-native-simple-image-slider v0.14.0
react-native-simple-image-slider
A simple and performant image slider made with @shopify/flash-list
and expo-image
Includes a full screen gallery component with gesture support.
Installation
Expo
npx expo install expo-image expo-haptics expo-status-bar react-native-reanimated react-native-svg \
react-native-gesture-handler react-native-safe-area-context styled-components \
@one-am/react-native-simple-image-slider
Non-Expo
npm
npm install expo-image expo-haptics expo-status-bar react-native-reanimated react-native-svg \
react-native-gesture-handler react-native-safe-area-context styled-components \
@one-am/react-native-simple-image-slider
yarn
yarn add expo-image expo-haptics expo-status-bar react-native-reanimated react-native-svg \
react-native-gesture-handler react-native-safe-area-context styled-components \
@one-am/react-native-simple-image-slider
Usage
<SimpleImageSliderThemeProvider>
<SimpleImageSlider
data={photos.map((photo, index) => ({
source: photo,
key: index.toString(),
}))}
imageWidth={width}
imageAspectRatio={16 / 9}
fullScreenEnabled={true}
renderFullScreenDescription={(_, index) => (
<Text style={{ color: '#ffffff' }}>Picture {index}</Text>
)}
/>
</SimpleImageSliderThemeProvider>
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
0.14.0
1 year ago
0.12.0
1 year ago
0.13.0
1 year ago
0.11.7
1 year ago
0.11.6
1 year ago
0.11.5
1 year ago
0.11.4
1 year ago
0.11.3
1 year ago
0.11.2
1 year ago
0.11.1
1 year ago
0.11.0
1 year ago
0.10.1
1 year ago
0.10.0
1 year ago
0.9.2
1 year ago
0.9.1
1 year ago
0.9.0
1 year ago
0.8.5
1 year ago
0.8.4
1 year ago
0.8.3
1 year ago
0.8.2
1 year ago
0.8.1
1 year ago
0.8.0
1 year ago
0.7.1
1 year ago
0.7.0
1 year ago
0.6.0
1 year ago
0.5.0
1 year ago
0.4.1
1 year ago
0.4.0
1 year ago
0.3.1
1 year ago
0.3.0
1 year ago
0.2.2
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago