AnimatedScanner
Scanner component for progress indication
Extends: Animated.View
(meaning you can pass the super component's props as well).
(meaning you can pass the super component's props as well).
PROPS
| name | description | type | default |
|---|---|---|---|
| progress | animated value between 0 and 100 | number | 0 |
| duration | Duration of current break (can be change between breaks) | number | 1000 |
| opacity | scanner opacity | number | |
| backgroundColor | scanner background color | string | |
| onBreakpoint | breakpoint callback - ({progress, isDone}) => {} | func | |
| hideScannerLine | should hide the scanner line | bool |
LIVE EXAMPLE

CODE SAMPLE
See example here.