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 SvgCustomizeIcon = (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="M3.85 8.98c.155.02.356.02.65.02.294 0 .495 0 .65-.02V16h-1.3V8.98Zm0-3.46c.155-.02.356-.02.65-.02.294 0 .495 0 .65.02V3.5h-1.3v2.02ZM9.35 13.98c.155.02.356.02.65.02.294 0 .495 0 .65-.02v2.52h-1.3v-2.52Zm0-3.46c.155-.02.356-.02.65-.02.294 0 .495 0 .65.02V4h-1.3v6.52ZM14.85 8.98c.155.02.356.02.65.02.294 0 .495 0 .65-.02V16h-1.3V8.98Zm0-3.46c.155-.02.356-.02.65-.02.294 0 .495 0 .65.02V3.5h-1.3v2.02Z"
|
|
|
|
fill="#1B273D"
|
|
|
|
fillOpacity={0.3}
|
|
|
|
/>
|
|
|
|
<Path
|
|
|
|
d="M4.5 9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 1 1 0 3ZM10 14a1.5 1.5 0 0 1 0-3 1.5 1.5 0 0 1 0 3ZM15.5 9a1.5 1.5 0 0 1 0-3 1.5 1.5 0 0 1 0 3Z"
|
|
|
|
stroke={color}
|
|
|
|
strokeWidth={1.3}
|
|
|
|
/>
|
|
|
|
</Svg>
|
|
|
|
)
|
|
|
|
}
|
2023-01-23 13:03:08 +00:00
|
|
|
export default SvgCustomizeIcon
|