2023-03-13 20:47:52 +00:00
|
|
|
import { useTheme } from '@tamagui/core'
|
2023-01-20 14:18:05 +00:00
|
|
|
import { Path, Svg } from 'react-native-svg'
|
|
|
|
|
2023-03-13 20:47:52 +00:00
|
|
|
import type { IconProps } from '../types'
|
2023-01-20 14:18:05 +00:00
|
|
|
|
2023-03-13 20:47:52 +00:00
|
|
|
const SvgFlipIcon = (props: IconProps) => {
|
|
|
|
const { color: token = '$neutral-100' } = props
|
|
|
|
const theme = useTheme()
|
|
|
|
/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */
|
|
|
|
// @ts-ignore
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
const color = theme[token]?.val ?? token
|
2023-01-20 14:18:05 +00:00
|
|
|
return (
|
|
|
|
<Svg
|
|
|
|
width={20}
|
|
|
|
height={20}
|
|
|
|
fill="none"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
2023-03-13 20:47:52 +00:00
|
|
|
{...props}
|
2023-01-20 14:18:05 +00:00
|
|
|
>
|
|
|
|
<Path
|
|
|
|
fillRule="evenodd"
|
|
|
|
clipRule="evenodd"
|
|
|
|
d="M7.073 2.932a7.65 7.65 0 0 1 8.337 1.659l-.92.919A6.35 6.35 0 0 0 3.682 9.364L4.7 8.6l.6.8-2 1.5-.3.225-.3-.225-2-1.5.6-.8 1.073.805a7.65 7.65 0 0 1 4.7-6.473Zm5.855 14.136a7.65 7.65 0 0 1-8.337-1.659l.92-.919a6.35 6.35 0 0 0 10.725-3.292l-.936.702-.6-.8 2-1.5.3-.225.3.225 2 1.5-.6.8-1.123-.843a7.65 7.65 0 0 1-4.65 6.01ZM8.15 10a1.85 1.85 0 1 1 3.7 0 1.85 1.85 0 0 1-3.7 0ZM10 6.85a3.15 3.15 0 1 0 0 6.3 3.15 3.15 0 0 0 0-6.3Z"
|
2023-03-13 20:47:52 +00:00
|
|
|
fill="#000"
|
2023-01-20 14:18:05 +00:00
|
|
|
/>
|
|
|
|
</Svg>
|
|
|
|
)
|
|
|
|
}
|
2023-01-23 13:03:08 +00:00
|
|
|
export default SvgFlipIcon
|