Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 12x | import React from 'react'; function CloseIcon({ className, onClick, ...props }: { className?: string; onClick?: () => void; 'data-testid'?: string; }) { return ( <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" className={className} onClick={onClick} {...props} > <path d="M13.1 11.9998L19.6 5.4998C19.9 5.1998 19.9 4.6998 19.6 4.3998C19.3 4.0998 18.8 4.0998 18.5 4.3998L12 10.8998L5.50005 4.4998C5.20005 4.1998 4.70005 4.1998 4.40005 4.4998C4.10005 4.7998 4.10005 5.2998 4.40005 5.5998L10.9 12.0998L4.40005 18.5998C4.10005 18.8998 4.10005 19.3998 4.40005 19.6998C4.50005 19.7998 4.70005 19.8998 4.90005 19.8998C5.10005 19.8998 5.30005 19.7998 5.40005 19.6998L11.9 13.1998L18.4 19.6998C18.5 19.7998 18.7 19.8998 18.9 19.8998C19.1 19.8998 19.3 19.7998 19.4 19.6998C19.7 19.3998 19.7 18.8998 19.4 18.5998L13.1 11.9998Z" fill="black" /> </svg> ); } export default CloseIcon; |