marcelines a5fdd22d51
Add blur and IconButton variants (#340)
* feat: add blurview to topbar and composer with scroll position

* fix: icon button component and adds scrolls var position for the top bar

* fix: changes from review
2023-02-10 17:25:13 +01:00

45 lines
1.1 KiB
TypeScript

import { Circle, Path, Svg } from 'react-native-svg'
import { useCurrentColor } from 'tamagui'
import type { SvgProps } from 'react-native-svg'
const SvgContactIcon = (props: SvgProps) => {
const { color: colorToken = 'currentColor', ...rest } = props
const color = useCurrentColor(colorToken)
return (
<Svg
width={20}
height={20}
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...rest}
>
<Circle
cx={10}
cy={10}
r={6.75}
fill={color}
stroke={color}
strokeWidth={1.5}
/>
<Path
d="M14.5 15a5.15 5.15 0 0 0-4.415-2.5h-.17A5.15 5.15 0 0 0 5.5 15"
stroke="#fff"
strokeWidth={1.3}
strokeLinejoin="round"
/>
<Circle
cx={10}
cy={8}
r={2}
stroke="#fff"
strokeWidth={1.3}
strokeLinejoin="round"
/>
<Circle cx={10} cy={10} r={6.75} stroke={color} strokeWidth={1.5} />
<Circle cx={10} cy={10} r={6.25} stroke={color} />
</Svg>
)
}
export default SvgContactIcon