Welcome to Expo Progress 👋
I created this as an alternative to using a bunch of different packages across iOS, Android, and web. This is still natively accelerated using popular packages shipped in the Expo standard library (SVG, and Reanimated).
This package is a work in progress. I'd like to also add a circular loader and pie loader.
Replaces
@react-native-community/progress-bar-android
Android only@react-native-community/progress-view
iOS only
Features
- Fully TypeScript
- iOS, Android, web
- Native animation
- Optimized for tree-shaking
- Shipped in JS (no JSX)
Install
yarn add expo-progress # or npm install --save expo-progress
Add peer dependencies:
# Get versions for Expo expo install react-native-svg react-native-gesture-handler react-native-reanimated react-native-redash # Get any version yarn add react-native-svg react-native-gesture-handler react-native-reanimated react-native-redash
Example
;;
Docs
Bar
Here are the prop types (I'm kinda lazy):
;
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
- Clone the repo
- Install
yarn
- Build dev
yarn build
- Start example
expo start
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2020 Evan Bacon.
This project is MIT licensed.