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>
  )
}
