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

27 lines
658 B
TypeScript

import { Path, Svg } from 'react-native-svg'
import { useCurrentColor } from 'tamagui'
import type { SvgProps } from 'react-native-svg'
const SvgExpandIcon = (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}
>
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M8.5 6.15h5.35v5.35h1.3V4.85H8.5v1.3ZM4.85 8.5v6.65h6.65v-1.3H6.15V8.5h-1.3Z"
fill={color}
/>
</Svg>
)
}
export default SvgExpandIcon