text: import { useMemo } from 'react';
  import './finger.less';
  
  const Finger = ({ name }) => {
  	const style = useMemo(() => {
  		if (name === 'food') {
  			return {
  				top: '55px',
  				right: '-25px',
  			};
  		}
  		return {
  			top: '50px',
  			right: '-5px',
  			transform: 'scale(1.6)',
  		};
  	});
  	return (
  		<div className='Finger' style={style}>
  			<div />
  		</div>
  	);
  };
  export default Finger;
  