blob: ac6116ac5ab1bd2008d62dedac16678b59e8aea8 [file] [log] [blame]
import { LottieAnimation, LottieLayer } from '../types';
export interface ExtraLayerData {
layer: LottieLayer;
parentId: string;
precompName: string;
}
export interface ShaderData {
id: string;
name: string;
shader: string;
precompName: string;
items: ExtraLayerData[];
}
//TODO(jmbetancourt): return LottieAnimation with replaced shaders
export const replaceShaders = (texts: ShaderData[],
currentAnimation: LottieAnimation): LottieAnimation => {
return currentAnimation;
};