Repository navigation
v5.0.0-rc.0
Pre-release
Pre-release
Major Changes
- ccde85f: Version 5 renders every indicator from a LoaderKit spec, with the same engine on iOS and Android, so indicators now look and move the same on both platforms. It requires the New Architecture and React Native 0.76 or newer (version 4 stays available as
react-native-loader-kit@v4-lts). New props:specfor custom indicators made withdefineIndicator,params,colors,animating,hidesWhenStopped,cycleProgressandreduceMotion.animationSpeedMultiplieris renamed tospeed, andIndicatorNametoBuiltinIndicatorName. All 33 indicators of version 4 keep their names and now work on both platforms, includingBallRotateChaseandCircleStrokeSpin, which were iOS-only. Writing your own spec is experimental in 5.x.
Minor Changes
- ccde85f:
LoaderKitProgressshows the progress of a task on iOS and Android, drawn by LoaderKit: 50 designs across 10 types (linear, circular, pie, gauge, liquid, border, bars, grid, battery and hourglass), with variants such aswavy,segmented,striped,gradient,needleandheart. Without avalue(or with null) it shows the indeterminate animation, and new values glide smoothly unlesssmoothis false. Children are drawn over the indicator (a stop button in a circular progress, for example) or, withborder, inside it, and screen readers announce a progress bar with its percentage. LoaderKit also adds 17 built-in indicators, 50 in total.