first commit
This commit is contained in:
21
node_modules/lottie-web/player/js/utils/expressions/InterfacesProvider.js
generated
vendored
Normal file
21
node_modules/lottie-web/player/js/utils/expressions/InterfacesProvider.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import LayerExpressionInterface from './LayerInterface';
|
||||
import EffectsExpressionInterface from './EffectInterface';
|
||||
import CompExpressionInterface from './CompInterface';
|
||||
import ShapeExpressionInterface from './ShapeInterface';
|
||||
import TextExpressionInterface from './TextInterface';
|
||||
import FootageInterface from './FootageInterface';
|
||||
|
||||
var interfaces = {
|
||||
layer: LayerExpressionInterface,
|
||||
effects: EffectsExpressionInterface,
|
||||
comp: CompExpressionInterface,
|
||||
shape: ShapeExpressionInterface,
|
||||
text: TextExpressionInterface,
|
||||
footage: FootageInterface,
|
||||
};
|
||||
|
||||
function getInterface(type) {
|
||||
return interfaces[type] || null;
|
||||
}
|
||||
|
||||
export default getInterface;
|
Reference in New Issue
Block a user