react-native-eva-icons
Version:
Eva Icons for React Native
17 lines • 662 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const zoomAnimation_1 = require("./zoomAnimation");
const pulseAnimation_1 = require("./pulseAnimation");
const shakeAnimation_1 = require("./shakeAnimation");
function getIconAnimation(animation, config) {
switch (animation) {
case 'zoom':
return new zoomAnimation_1.ZoomAnimation(config);
case 'pulse':
return new pulseAnimation_1.PulseAnimation(config);
case 'shake':
return new shakeAnimation_1.ShakeAnimation(config);
}
}
exports.getIconAnimation = getIconAnimation;
//# sourceMappingURL=animationRegistry.js.map