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