UNPKG

react-native-ui-lib

Version:

<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a

24 lines (23 loc) 1.14 kB
{ "name": "AnimatedScanner", "category": "basic", "description": "description", "extends": ["Animated.View"], "extendsLink": ["https://reactnative.dev/docs/animated"], "example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/CardScannerScreen.js", "images": ["https://media.giphy.com/media/l49JVcxoclUXbryiA/giphy.gif"], "props": [ {"name": "progress", "type": "number", "description": "Animated value between 0 and 100", "default": "0"}, { "name": "duration", "type": "number", "description": "Duration of current break (can be change between breaks)", "default": "1000" }, {"name": "opacity", "type": "number", "description": "Opacity"}, {"name": "backgroundColor", "type": "string", "description": "Background color"}, {"name": "onBreakpoint", "type": "({progress, isDone}) => void", "description": "Breakpoint callback"}, {"name": "hideScannerLine", "type": "boolean", "description": "Whether to hide the scanner line"}, {"name": "containerStyle", "type": "ViewStyle", "description": "Component's container style"} ] }