Skip to main content

AnimatedScanner

<AnimatedScanner progress={55} duration={1600}/>
TIP
This component extends the Animated.View props.
APIThis is the list of additional props for the component

backgroundColor
string

Background color

containerStyle
ViewStyle

Component's container style

duration
number

Duration of current break (can be change between breaks). Default is 1000

hideScannerLine
boolean

Whether to hide the scanner line

onBreakpoint
({progress, isDone}) => void

Breakpoint callback

opacity
number

Opacity

progress
number

Animated value between 0 and 100. Default is 0

testID
string

Used as a testing identifier