import React from 'react'; import TweenOne from 'rc-tween-one'; import PathPlugin from 'rc-tween-one/lib/plugin/PathPlugin'; TweenOne.plugins.push(PathPlugin); const duration = 7000; const ease = 'easeInOutSine'; const p = 'M123.5,89.5 C148,82.5 239.5,48.5 230,17.5 C220.5,-13.5 127,6 99.5,13.5 C72,21 -9.5,56.5 1.5,84.5 C12.5,112.5 99,96.5 123.5,89.5 Z'; const loop = { yoyo: true, repeat: -1, duration, ease, }; const animate = { path: { path: { x: p, y: p }, duration: 5000, repeat: -1, ease: 'linear', }, rotate: { ...loop, rotate: 15, }, rotateR: { ...loop, rotate: -15, }, yGroup: { ...loop, y: 24, }, track: { ...loop, rotate: 15, }, rotateY: { ...loop, y: 24, rotate: 15, }, y: { ...loop, y: 15, duration: 3000, }, yR: { ...loop, y: -15, duration: 3000, }, }; function TweenOneG(props) { return ; } export default function BannerImage() { return ( ); } //