You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
322 B
13 lines
322 B
import { Close } from 'features/Icons/Close'
|
|
import { useMatchPopupStore } from 'features/MatchPopup/store'
|
|
|
|
import { BaseButton } from '../../styled'
|
|
|
|
export const CloseButton = () => {
|
|
const { closePopup } = useMatchPopupStore()
|
|
return (
|
|
<BaseButton onClick={closePopup}>
|
|
<Close />
|
|
</BaseButton>
|
|
)
|
|
}
|
|
|