You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
586 B
React
22 lines
586 B
React
3 years ago
|
import React from 'react'
|
||
|
|
||
|
export default function CloseIcon({ onClick, className }) {
|
||
|
return (
|
||
|
<div className={className} onClick={onClick}>
|
||
|
<svg
|
||
|
xmlns="http://www.w3.org/2000/svg"
|
||
|
className="h-6 w-6"
|
||
|
fill="none"
|
||
|
viewBox="0 0 24 24"
|
||
|
stroke="currentColor"
|
||
|
>
|
||
|
<path
|
||
|
strokeLinecap="round"
|
||
|
strokeLinejoin="round"
|
||
|
strokeWidth={2}
|
||
|
d="M6 18L18 6M6 6l12 12"
|
||
|
/>
|
||
|
</svg>
|
||
|
</div>
|
||
|
)
|
||
|
}
|