AnimatedScanner

Scanner component for progress indication

Extends: Animated.View
(meaning you can pass the super component's props as well).

PROPS

namedescriptiontypedefault
progressanimated value between 0 and 100number0
durationDuration of current break (can be change between breaks)number1000
opacityscanner opacitynumber
backgroundColorscanner background colorstring
onBreakpointbreakpoint callback - ({progress, isDone}) => {}func
hideScannerLineshould hide the scanner linebool

LIVE EXAMPLE

CODE SAMPLE

See example here.