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.
 
 
 
 
spa_instat_tv/src/features/MatchPopup/components/BackButton/index.tsx

16 lines
364 B

import styled from 'styled-components/macro'
import { useMatchPopupStore } from 'features/MatchPopup/store'
import { BaseButton } from '../../styled'
const Button = styled(BaseButton)`
background-image: url(/images/back-icon.svg);
`
export const BackButton = () => {
const { goBack } = useMatchPopupStore()
return (
<Button onClick={goBack} />
)
}