mirror of
https://github.com/status-im/wakuconnect-chat-sdk.git
synced 2025-01-10 12:15:49 +00:00
a5fdd22d51
* 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
28 lines
637 B
TypeScript
28 lines
637 B
TypeScript
import { Path, Svg } from 'react-native-svg'
|
|
import { useCurrentColor } from 'tamagui'
|
|
|
|
import type { SvgProps } from 'react-native-svg'
|
|
|
|
const SvgMenuIcon = (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
|
|
d="M15 15H5M15 10H5M15 5H5"
|
|
stroke={color}
|
|
strokeWidth={1.5}
|
|
strokeLinecap="square"
|
|
strokeLinejoin="round"
|
|
/>
|
|
</Svg>
|
|
)
|
|
}
|
|
export default SvgMenuIcon
|