UNPKG

react-native-redash

Version:

Utility library for React Native Reanimated

2 lines 553 B
import _toConsumableArray from"@babel/runtime/helpers/toConsumableArray";import Animated from"react-native-reanimated";var concat=Animated.concat;export var string=function string(strings){for(var _len=arguments.length,values=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){values[_key-1]=arguments[_key];}var result=[];strings.forEach(function(str,idx){result.push(str,values[idx]);});if(values.length>strings.length){result.push(values[values.length-1]);}return concat.apply(void 0,_toConsumableArray(result));}; //# sourceMappingURL=String.js.map