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.
16 lines
364 B
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} />
|
|
)
|
|
}
|
|
|