UNPKG

react-sea-motion

Version:

A React component that adds fluid, sea-like motion effects to images

17 lines (16 loc) 421 B
import React from 'react'; interface SeaMotionProps { src?: string; alt?: string; className?: string; style?: React.CSSProperties; speed?: number; intensity?: number; duration?: number; children?: React.ReactNode; onLoad?: () => void; onError?: (error: Error) => void; onAnimationEnd?: () => void; } declare const SeaMotion: React.FC<SeaMotionProps>; export default SeaMotion;