Skip to main content

AnimatedScanner

description
(code example)

info

This component extends Animated.View props.

Usage#

<AnimatedScanner progress={55} duration={1600}/>

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