2
0
mirror of https://github.com/status-im/status-web.git synced 2025-01-20 09:30:29 +00:00
marcelines a5fdd22d51
Add blur and IconButton variants ()
* 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

30 lines
828 B
TypeScript

import { Circle, ClipPath, Defs, G, Path, Svg } from 'react-native-svg'
import { useCurrentColor } from 'tamagui'
import type { SvgProps } from 'react-native-svg'
const SvgDropdownIcon = (props: SvgProps) => {
const { color: colorToken = 'currentColor', ...rest } = props
const color = useCurrentColor(colorToken)
return (
<Svg
width={12}
height={12}
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...rest}
>
<G clipPath="url(#dropdown-icon_svg__a)">
<Circle cx={6} cy={6} r={6} fill="#E7EAEE" />
<Path d="m3 4.75 3 3 3-3" stroke={color} strokeWidth={1.1} />
</G>
<Defs>
<ClipPath id="dropdown-icon_svg__a">
<Path fill="#fff" d="M0 0h12v12H0z" />
</ClipPath>
</Defs>
</Svg>
)
}
export default SvgDropdownIcon