blob: b1fb70a20016fdb0cb0bbe8e81ca1fa65423e09c [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 => currentAnimation;