37 lines
1.3 KiB
TypeScript
37 lines
1.3 KiB
TypeScript
import { useTheme } from '@tamagui/core'
|
|
import { Path, Svg } from 'react-native-svg'
|
|
|
|
import type { IconProps } from '../types'
|
|
|
|
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
|
|
return (
|
|
<Svg
|
|
width={20}
|
|
height={20}
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...props}
|
|
>
|
|
<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>
|
|
)
|
|
}
|
|
export default SvgCustomizeIcon
|