Skip to main content

AnimatedScanner

description
(code example)

info

This component extends Animated.View props.

Usage​

Live Editor
<AnimatedScanner progress={55} duration={1600}/>
Result
Loading...

API​

backgroundColor​

Background color string

containerStyle​

Component's container style ViewStyle

duration​

Duration of current break (can be change between breaks) number

hideScannerLine​

Whether to hide the scanner line boolean

onBreakpoint​

Breakpoint callback ({progress, isDone}) => void

opacity​

Opacity number

progress​

Animated value between 0 and 100 number

testID​

Used as a testing identifier string