import * as React from 'react' ; import { motion } from 'framer-motion' ; interface Props { animated ? : boolean ; delay ? : number ; } type ThumbProps = Props ; export const Thumb = ( { animated = true , delay = 0.2 , } ) => { return ( < motion . svg width = "26px" height = "26px" viewBox = "0 0 26 26" fill = "none" initial = { { rotate : 0 , y : 0 , visibility : 'hidden' } } style = { { originX : '50%' , } } animate = { animated && { rotate : [ 0 , - 15 , 40 , - 10 , 0 ] , y : [ 0 , - 5 , 12 , - 2 , 0 ] , visibility : 'visible' , } } transition = { { ease : 'easeInOut' , duration : 1 , delay , } } > < path fillRule = "evenodd" clipRule = "evenodd" d = "M25.5849 13.1321C25.5849 11.0369 24.1772 9.39623 21.849 9.39623H18.0222L18.0569 9.30192C18.0915 9.20833 18.189 8.9513 18.2837 8.70165L18.2852 8.69779L18.2863 8.69488C18.3692 8.47625 18.4496 8.26447 18.4831 8.17449C18.7199 7.53896 18.8927 7.0269 19.0325 6.51978C19.2438 5.75332 19.3584 5.06278 19.3584 4.4151C19.3584 2.58203 18.2276 1.4435 16.5544 0.956304C15.7998 0.736564 15.1429 0.679131 14.3773 0.679245H13.7802L13.4063 1.14484C12.984 1.67079 12.1545 2.61869 11.1981 3.71151C9.43386 5.72752 7.23797 8.23676 6.37058 9.50009C6.1455 9.43324 5.90711 9.39735 5.66033 9.39735H3.16977C1.79426 9.39735 0.679199 10.5124 0.679199 11.8879V23.0955C0.679199 24.471 1.79426 25.586 3.16977 25.586H5.66033C6.516 25.586 7.27088 25.1545 7.71924 24.4972C8.09703 24.7416 8.51853 24.9455 8.97667 25.1094C10.0256 25.4847 11.0659 25.6 11.9296 25.5842L20.6037 25.5849C24.0347 25.5849 25.5849 20.5335 25.5849 13.1321ZM9.81566 22.7645C8.71776 22.3716 8.15503 21.732 8.1509 20.6162V11.8879L8.15088 11.8798C8.15174 11.5836 8.20715 11.3206 8.32734 11.04C8.54495 10.5319 10.5193 8.27943 12.3906 6.14445L12.3906 6.14445L12.3907 6.14439C13.3565 5.04251 14.2948 3.97194 14.9501 3.18866C15.2632 3.21215 15.5583 3.26026 15.8581 3.34756C16.5717 3.55536 16.8679 3.85351 16.8679 4.4151C16.8679 4.80934 16.7881 5.28968 16.6314 5.8579C16.5144 6.2825 16.3628 6.73179 16.1492 7.30498C16.119 7.3861 16.0437 7.58449 15.9636 7.79574L15.9629 7.79749L15.9629 7.79754L15.9628 7.79785L15.9626 7.7983C15.8647 8.05638 15.7597 8.33301 15.7209 8.43805C15.559 8.87592 15.4523 9.19832 15.3793 9.49126C15.0691 10.7366 15.3803 11.8868 16.8679 11.8868H21.849C22.7098 11.8868 23.0943 12.335 23.0943 13.1321C23.0943 19.0979 21.8678 23.0943 20.6037 23.0943H11.8867L11.8407 23.0951C11.2957 23.1049 10.5301 23.0201 9.81566 22.7645ZM3.16975 23.0955V11.8879H5.66032V23.0955H3.16975Z" fill = "black" / > < /motion.svg>); } ;