src/svg/rewind.js
import React from 'react' const icon = props => { const { width = 16, height = 16 } = props return ( <svg width={`${width}px`} height={`${height}px`} viewBox='0 0 24 24' fill='none' stroke='currentColor' strokeWidth='2' strokeLinecap='round' strokeLinejoin='round' > <polygon points='11 19 2 12 11 5 11 19' /> <polygon points='22 19 13 12 22 5 22 19' /> </svg> ) } const areEqual = (prev, next) => prev.width === next.width && prev.height === next.height export default React.memo(icon, areEqual)