Repository navigation
v2.0.0 — rewrite for modern React Native
A full rewrite for current React Native.
- Function component in TypeScript, with types shipped.
- Animations on Reanimated 4 worklets (UI thread). Works with the New Architecture.
- Return a promise from
onPressand the button shows loading, then success or error by itself.statusgives full control when needed. - New
resetAfter,successTitle,errorTitle,successIcon,errorIcon,trackColor,borderWidth,disabled,accessibilityLabel,accessibilityHintandtestIDprops. - SVG spinner and icons;
react-native-vector-iconsand the git-pinnedreact-native-circular-progressare gone. - Accessibility: button role, busy and disabled states, success or error announced to screen readers.
- Spinner keeps turning under Reduce Motion; fold and unfold follow the system setting.
- New Expo example app.
Breaking: props were renamed. See "Migrating from 1.x" in the README.