2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/components/Header/Language/Arrow.tsx
2021-10-24 05:19:39 +02:00

21 lines
478 B
TypeScript

import { useTheme } from 'contexts/Theme'
export const Arrow: React.FC = () => {
const { theme } = useTheme()
return (
<svg
width='12'
height='8'
viewBox='0 0 12 8'
fill='none'
xmlns='http://www.w3.org/2000/svg'
>
<path
d='M9.8024 0.292969L5.61855 4.58597L1.43469 0.292969L0.0566406 1.70697L5.61855 7.41397L11.1805 1.70697L9.8024 0.292969Z'
fill={theme === 'dark' ? '#fff' : '#181818'}
/>
</svg>
)
}