react-native-animated-glow
Version:
A performant, highly-customizable animated glow effect for React Native, powered by Skia and Reanimated.
12 lines (11 loc) • 420 B
TypeScript
import { FC } from 'react';
import { type SharedValue } from 'react-native-reanimated';
import type { Layout, GlowConfig } from './types';
export interface UnifiedSkiaGlowProps {
layout: Layout;
masterOpacity: SharedValue<number>;
progress: SharedValue<number>;
fromConfig: SharedValue<GlowConfig>;
toConfig: SharedValue<GlowConfig>;
}
export declare const UnifiedSkiaGlow: FC<UnifiedSkiaGlowProps>;