UNPKG

realm-loader-npm

Version:

A comprehensive collection of 14 beautiful circle animations with performance optimization, presets, themes, and React/Vue components

47 lines 3.28 kB
import React from 'react'; import { CircleAnimations } from '../CircleAnimations'; import type { AnimationType, AnimationConfig } from '../types'; export interface RealmLoaderProps { animation: AnimationType; config?: AnimationConfig; preset?: string; theme?: string; autoStart?: boolean; className?: string; style?: React.CSSProperties; onStart?: () => void; onStop?: () => void; onDestroy?: () => void; } export interface RealmLoaderRef { start: () => void; stop: () => void; destroy: () => void; updateConfig: (config: Partial<AnimationConfig>) => void; getAnimation: () => CircleAnimations | null; } export declare const RealmLoader: React.ForwardRefExoticComponent<RealmLoaderProps & React.RefAttributes<RealmLoaderRef>>; export declare const RadialPulse: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const OrbitalPulse: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const PendulumWave: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const PulseWave: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const ConcentricRings: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const SequentialPulse: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const OscillatingDots: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const PulsingGrid: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const SpiralGalaxy: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const WaveRipple: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const OrbitalDance: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const SpiralVortex: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const QuantumField: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const NeuralNetwork: React.ForwardRefExoticComponent<Omit<RealmLoaderProps, "animation"> & React.RefAttributes<RealmLoaderRef>>; export declare const useRealmLoader: (animation: AnimationType, config?: AnimationConfig) => { ref: React.RefObject<RealmLoaderRef | null>; start: () => void | undefined; stop: () => void | undefined; destroy: () => void | undefined; updateConfig: (newConfig: Partial<AnimationConfig>) => void | undefined; }; export { AnimationPresets } from '../AnimationPresets'; export type { AnimationType, AnimationConfig } from '../types'; //# sourceMappingURL=RealmLoader.d.ts.map