reactbits-animation
Version:
A comprehensive collection of beautiful, performant React animation components including bounce effects, click sparks, star borders, scroll-triggered animations, and fade transitions.
15 lines • 652 B
TypeScript
import { RefObject, HTMLAttributes } from "react";
interface VariableProximityProps extends HTMLAttributes<HTMLSpanElement> {
label: string;
fromFontVariationSettings: string;
toFontVariationSettings: string;
containerRef: RefObject<HTMLElement>;
radius?: number;
falloff?: "linear" | "exponential" | "gaussian";
className?: string;
onClick?: () => void;
style?: React.CSSProperties;
}
declare const VariableProximity: import("react").ForwardRefExoticComponent<VariableProximityProps & import("react").RefAttributes<HTMLSpanElement>>;
export default VariableProximity;
//# sourceMappingURL=VariableProximity.d.ts.map